08-26-2009 01:06 PM
What are the circumstances that would cause GetExternalModuleAddrEx to return a -5 (undefined references) for a function when the executable is run, but return a 0 when running in debug mode?
I have a Test Executive that runs tests through a series of object files listed in a sequence file. One of these tests returns the 'undefined references' error when the Test Exec executable is run. If I run the Test Exec in debug mode through CVI 5.0.1 no error is found.
08-27-2009 04:31 PM
08-27-2009 05:21 PM
08-27-2009 05:45 PM
08-28-2009 04:43 PM
The functionality you need is in the GetExternalModuleAddrEx, which was released in CVI version 5.5, according to The CVI 5.5 Release Notes. The Ex stands for Extended.