Can I Call a 32-Bit DLL from 64-Bit LabVIEW?

Updated Sep 17, 2018

Reported In

Software

  • LabVIEW

Issue Details

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

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

Solution

You cannot call a 32-bit DLL from 64-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 the 64-bit operating system.  Alternatively, you can load the DLL in a 32-bit LabVIEW VI or EXE and communicate between 64-bit LabVIEW and 32-bit LabVIEW using Shared Variables or other networking technologies.

Additional Information

You can install both the 32-bit and 64-bit versions of LabVIEW on the same machine.

WAS THIS ARTICLE HELPFUL?

Not Helpful