LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LoadPanel causes GPF

Solved!
Go to solution

Hello,

 

while preparing a demo I came across the following behavior:

 

panel_handle = LoadPanel ( 0, PANEL, PANEL );

 

causes a 'General Protection' fault.

 

Of course, the second parameter is wrong as it should be a file name, but I would have assumed that CVI shouldn't crash but issue an error message instead... all it does is a warning.

 

Is this expected?

0 Kudos
Message 1 of 5
(4,123 Views)

Hello 

0 Kudos
Message 2 of 5
(4,107 Views)

Well, personally I feel that everything that can cause a GPF should be an error (but I'm not an expert in such things...) and thus I did like the previous behavior better Smiley Wink

0 Kudos
Message 3 of 5
(4,103 Views)
Solution
Accepted by topic author Wolfgang

Hello 

0 Kudos
Message 4 of 5
(4,099 Views)

Sounds good, thanks!

0 Kudos
Message 5 of 5
(4,097 Views)