LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

dll issue, works in release.exe but not in debug mode.

I have an issue with a dll that was previously working in both released and in debug mode.  Now if I create a released .exe it functions.  If I run it in debug mode the call to the dll function never returns.  eventually whatever is occurring behind the scense prevents the released.exe from working also.    I do not know if I accidenatally changed a setting in the cvi compiler that broke the code.  Is there a way to default cvi2010 settings?

0 Kudos
Message 1 of 2
(4,218 Views)

You can go back to the default ADE settings by renaming the following registry key to something else (anything other than "10.0", it doesn't matter what):

 

[HKEY_CURRENT_USER]\Software\National Instruments\CVI\10.0.

 

I think it's best to rename it, rather than delete it, so that you can go back to your current settings any time you choose to. Make sure CVI is not running when you rename the key.

 

After the rename, the first time you run CVI, it will prompt you if you want to copy the settings. Say no to that. At that point, CVI will create a new "10.0" key with the default settings in place.

 

Once you're done with your investigation, if you prefer to go back to the settings you had, you can delete the new 10.0 and rename the previous key back to "10.0".

0 Kudos
Message 2 of 2
(4,216 Views)