Can I Call A 64-Bit DLL From 32-Bit LabVIEW?

Updated Jan 11, 2023

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?


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.