LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

stack overflow after upgrade from CVI9.0 to 2010

Solved!
Go to solution

hi,

I had working application using dynamically loaded DLL in run-time. Both application and DLL were developed in CVI9.0. After I upgraded to CVI2010, and compiling the application, I got error messages of missing variables in one DLL function call. When I added these variable in definitions, I got stack overflow error instead. I re-compiled the DLL in CVI2010 if that would cause the stack over flow error. I didn't help.

Does somebody have some suggestions what to do next ?

Best Regards,

Petri

    

0 Kudos
Message 1 of 2
(2,911 Views)
Solution
Accepted by topic author Petri

 

I found problem in variable definition in a function called from callback. variable definition needs static to get rid of the stack overflow error.

 

regards,

petri

 

0 Kudos
Message 2 of 2
(2,888 Views)