LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Control callback error during compile in debug mode using CVI 9.0


We recently upgraded to CVI 9.0 and I am now having some problems with one
of my projects.  It will not compile in debug mode.  If I compile in debug
mode I always get "A custom control callback raised an exception" and sometimes
see "Unrecoverable Internal Error at 001B:102992CA" along with the custom
control error.   The dll's never get created.

 

Everything works fine in release mode with CVI 9 and when I use CVI 8
(release or debug mode).

 

I have reproduced the compile issue using CVI 9 (9.0.1 RTE) on two different PC's. 
One was running windows XP SP2, the other SP3.

 

I have attempted to rebuild the project from scratch, delete the cvi.build
directory, rebuild all .UIR's with no success.

 

I am attempting to isolate the code to a minimum in order to reproduce the
issue for posting but it seems the problem disappears by eliminating
arbitrary and unrelated code that has no logical pattern that would point
to a possible solution.  If I set the build option debugging level to
no run-time checking, the entire project will compile in debug mode.

 

Has anyone seen this type of thing before or would have a suggestion of something
to try?

 

Thanks in advance. 

0 Kudos
Message 1 of 6
(3,993 Views)

kliche,

I am not using CVI 9 yet but I have read some similar questions recently on this forum: while waiting for some more experienced people to help you, you could take a look at this thread and see if some of the suggestions listed applies to your situation.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 6
(3,979 Views)

Do you have version 9.0 or 9.0.1? You can see this in the lower right corner of the splash screen that comes up at startup (or Help>>About LabWindows/CVI). There was a known crash fixed between 9.0 and 9.0.1 that was related to initializing large character arrays with small strings (e.g. char x[50000] = "").

 

Mert A.

National Instruments

0 Kudos
Message 3 of 6
(3,976 Views)
I have 9.0.0 (348).  Is there a 9.0.1 downloadable update immediately available?
0 Kudos
Message 4 of 6
(3,971 Views)

If you have SSP, you can go to www.ni.com/src and download the update from there.

 

Mert A.

National Instruments

0 Kudos
Message 5 of 6
(3,966 Views)

Looks like 9.0.1 has fixed the compile problem. 

 

Thanks!

0 Kudos
Message 6 of 6
(3,936 Views)