LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL Init error in CVI

I implement a DLL in VC++, then I generate a LIB file from my DLL
in LabWindows. Now I have linked the DLL to my LabWin application.
The Programm works, but the problem is, that I very often get a
"DLL Link error"
Can everybody help me?
0 Kudos
Message 1 of 2
(3,529 Views)
"Holger Bach" wrote:
>>I implement a DLL in VC++, then I generate a LIB file from my DLL>in LabWindows.
Now I have linked the DLL to my LabWin application.>The Programm works, but
the problem is, that I very often get a >"DLL Link error">Can everybody help
me?>

Dear Holger,
The most probable reason that you are getting this error is because your
dll is possibly calling another dll that is either not on your system or
is not in the correct path. Try using Quickview ( you can right-click on
the dll and then open it with
quickview if it is installed on your machine) or Visual C++ provides a utility
called dumpbin as well.
See what dlls are called by your dll. Make sure that these are all present
in Windows/System or in Winnt/System32.
That should tak
e care of your problem...
Nandan Dharwadker
Staff Software Engineer
Measurement Studio Hardware Team
0 Kudos
Message 2 of 2
(3,529 Views)