Can I Call a 32-Bit DLL from 64-Bit LabVIEW or The Other Way Around?

Updated Jan 11, 2019

Reported In


  • 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:
The library selected is not valid for the current platform. For example, you are running 64-bit LabVIEW and the library might be a 32-bit library.

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


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.


Not Helpful