10-21-2009 09:59 AM
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.
10-21-2009 10:55 AM
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.
10-21-2009 11:03 AM
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
10-21-2009 11:09 AM
10-21-2009 11:23 AM
If you have SSP, you can go to www.ni.com/src and download the update from there.
Mert A.
National Instruments
10-22-2009 09:49 AM
Looks like 9.0.1 has fixed the compile problem.
Thanks!