LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

error message (status ==-25) when loading function from static library

Hello everyone,

I'm trying to learn to use the "GetExternalModuleAddr" function along with "LoadExternalModule" in LabWindows 7.1.  However I'm having trouble getting the function to run properly without running into a "NON-Fatal Run-Time Error" message.  The following is displayed in the "run-time errors" tab.
 NON-FATAL RUN-TIME ERROR:   "testexec.c", line 848, col 22, thread id 0x00000A38:   Library function error (*status == -25 [0xffffffe7]).

Is there a link that explains what each one of the status error messages are?  or Does anyone know how I can troubleshoot this issue?  I've tried recreating the static library file, and copying it to the running directory.  But it still doesn't work.

Any help will do.  Thanks.


0 Kudos
Message 1 of 2
(2,841 Views)

-25    DLL initialization failed, for example, DLL file not found.

Place the dll in the same directory as the exe, or reference the dll from your project.

 

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