LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

General protection fault on CmtGetLock

Hello,
I have sometimes a general protection fault on a CmtGetLock. It's impossible to reproduce that systematically. Does anybody have once this kind of problem? Do I use the mutex of the windows/SDK library instead?
0 Kudos
Message 1 of 4
(3,117 Views)

 

Message Edité par Omar S. le 04-07-2006 03:24 AM

0 Kudos
Message 2 of 4
(3,091 Views)

Hello,

Have you try to investigate in which case the problem occurs, which version of CVI have you got?

Regards.

Omar S. NI

0 Kudos
Message 3 of 4
(3,087 Views)

I had this error (GPF) consistantly in CVI 10 when many lock and release cycles were happening per second. What fixed it was not to process events while waiting. When initializing the lock, use 0 instead of OPT_TL_PROCESS_EVENTS_WHILE_WAITING.

0 Kudos
Message 4 of 4
(2,644 Views)