LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

getting DLL issue in lab View when we change the PC with same specifications

 error is coming like "library not found or failed to load". we are created DLL file in Visual studio and we called from labview it is working fine initially.

and i copied that files into another PC with same configuration which we have earlier But we don't have Visual Studio. when we call function of Dll  through Labview error is coming.

can any one help me to solve the issue

0 Kudos
Message 1 of 3
(2,383 Views)

Is it possible that your DLL is calling some other libraries that are installed with Visual Studio?

Common examples might include the C/C++ runtimes (can be version specific, etc)

You can check which libraries are called by other libraries using a tool like DependencyWalker.


GCentral
0 Kudos
Message 2 of 3
(2,343 Views)

Is the DLL in the same position relative to your executable?

 

I agree that dependency walker can be an easy way to figure out if you are missing dependent DLLs but if all the DLLs seem to exist I have had luck using Process Monitor and specifically looking for library loadings. It can be a lot to parse but it will tell you exactly what libraries are being loaded, where the application is looking for those libraries, and whether or not they are found.

Matt J | National Instruments | CLA
Message 3 of 3
(2,304 Views)