LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble getting a DLL to load

I am using a DLL provided by the manufacturer to tx/rx receive data. When I goto run the project it gives the follwing error:

"DLL Init Error: Windows could not find the DLL "DG_Gryph.dll" or one of the the DLL's which is statically linked to it."

I have included the library, not sure what else I need to do. We have other test stations that use this DLL and dont get that error, so I am not sure what I am missing.
0 Kudos
Message 1 of 2
(2,963 Views)
It will be expecting this DLL to be in your windows\system directory or in the same directory as your EXE file. If the DLL isn't in on of these two locations it will NOT find it.

If it is in one of these locations, it could be a dependency DLL that isn't getting found. You can use the Windows SDK utility to check what DLLs your DG_Gryph.dll is dependent on. If you installed SDK support with CVI you can find that utility in cvi\sdk\bin\depends.exe. There is also a help file for the depends program in that directory.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,963 Views)