LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

General Protection fault.

Problem happens when a uir panel that has an active x control on it and a mouse pointer is placed on this panel. I get a General protection fault. When contiue is select the RunUserInterface() function call is highlited.
0 Kudos
Message 1 of 6
(3,690 Views)
Does this happen with any ActiveX control or only a specific one? You might try something simple like CW3DGraph, or Media Player to see whether it is a problem with your ActiveX control.

Ryan K.
National Instruments
0 Kudos
Message 2 of 6
(3,690 Views)
Ryan:

It happens with other ActiveX controls too. I suspect that there is some kind of system event fired that clashes with the mouse co-ordinates, somehow, somewhere.
Any suggestions?

Dwivedi
0 Kudos
Message 3 of 6
(3,690 Views)
Dwivedi,
What version of CVI and of Windows are you using?
0 Kudos
Message 4 of 6
(3,690 Views)
CVI version 6.0 on Windows-2000.
0 Kudos
Message 5 of 6
(3,690 Views)
Should be no problem with it, there was an issue with the mouse and the ActiveX container when it was first put in, but it was fixed before CVI 6 was released, so unless you have a beta version it shouldn't apply to you. It would be a good idea to double check by just creating a user interface with a Windows Media Player activeX control, generating the code and making sure that your problem still shows up. If it does you most likely have either a bad windows install or a bad CVI install, you might want to try checking your control in excel to see if it works there, the following document describes how:
http://digital.ni.com/public.nsf/websearch/D0B5CCE7E4899F8886256B7E0001609B?OpenDocument

If it works in Excel then you might want
to try reinstalling CVI.
0 Kudos
Message 6 of 6
(3,690 Views)