LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Debug or Release DLL

Is there any way to determine at run time whether I am using a release or debug DLL in CVI?
I need to change some timing since the two DLL's run slightly differently.
 
0 Kudos
Message 1 of 2
(2,972 Views)

_CVI_DEBUG_ will be defined at compile time to be 1 if the dll was compiled as a debug version.  Creating a function within the DLL to return that value should give you what you are looking for.

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