Can I Call A 64-Bit DLL from 32-bit LabVIEW?

Updated May 1, 2018

Issue Details

When I try to select a 64-bit DLL in a Call Library Function node in 32-bit LabVIEW, I get a dialog stating:

Why am I seeing this error? Can I call a 64-bit DLL from 32-bit LabVIEW?

Solution

You cannot call a 64-bit DLL from 32-bit LabVIEW. This is a limitation of 64-bit Windows, which does not support mixed 64-bit/32-bit processes. 

The recommended solution is to recompile the DLL from the source code for a 32-bit target architecture.  Alternatively, you can load the DLL in a 64-bit LabVIEW VI or EXE and communicate between 64-bit LabVIEW and 32-bit LabVIEW using Shared Variables or other networking technologies.

Additional Information


 

WAS THIS ARTICLE HELPFUL?

Not Helpful