09-09-2019 04:49 AM - edited 09-09-2019 05:00 AM
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
09-09-2019 05:58 AM
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.
09-09-2019 10:34 AM
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.