LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What does the error message: "A custom control callback raised an exception" mean?

I had CVI issue an error popup when compiling a file in my project today; first time that's ever happened. The popup says: "A custom control callback raised an exception" and it doesn't finish compiling. I get this when the build configuration is set to "Debug" and not when set to "Release". The project is very large and I recently added so new files to it. The source file that causes the error has a large header file attached that contains large amounts of data, much of it large structs.
 
I just installed the 7.1 patch so now I'm up to 7.1.1 but that made no difference.
 
Alex
0 Kudos
Message 1 of 4
(3,231 Views)

This error started happening when I deleted a file in the project. If I put the file back in, the error goes away. I did remove all referants to it though.

I also get an "Unrecoverable Internal Error at 001B:1047EA89, LabWindows/CVI will be aborted" when I do a project build.

Alex

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

Hello Alex,

Which version of CVI and which custom control are you using in your project?  I suspect that there might still be a few references to the file you deleted floating around, especially since when you add the file back to your project, you no longer get the error.  What file did you delete and what was included in this file?  Do you still get the unrecoverable error when you build the project with the deleted file included?

Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 3 of 4
(3,209 Views)

Thanks Wendy,

I did go back and clean things up regarding the deleted file and its referents. Errors went away and I'm up and running again.

Alex

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