Import .dll Into LabVIEW and Get Message "Library not found or failed to load"

Updated Nov 5, 2018

Reported In

Software

  • LabVIEW

Issue Details

After importing my .dll into LabVIEW, I receive the following errors:
 


Solution

Try the troubleshooting steps below to resolve these errors.
  • Right click on the Call Library Function node and ensure that your program has the correct file path to your .dll.

    • ​If the file path is correct, load your .dll into a dependency checker program that will make sure that you are not missing any dependencies. 

      • There is an open source dependency checker on GitHub that would work for this job, although it is not the only software that would work for checking dependencies.

      • If there is a dependency missing, you will need to place the dependency in the correct location or statically include the dependency when you build the .dll. The particular methods for doing this will depend on your programming language and particular application.

Additional Information

Windows 10 uses two directories for program installations. 64 bit programs go into the "Program Files" folder and 32 bit programs go into "Program Files (x86)". 

WAS THIS ARTICLE HELPFUL?

Not Helpful