05-14-2013 04:11 PM
My program makes a bunch of .NET DLL calls. When I compile an exe for my program, how does LabVIEW knows where the DLLs are? How do I specify?
05-15-2013 01:30 AM
05-15-2013 11:24 AM
Hi Jyang,
When building an executable, LabVIEW automatically makes a copy of any dependency DLLs (used by Call Library Function Nodes) and puts it in the data folder of your executable distribution.
This KB explains the requirements for .NET assembly (DLL) locations in order to be found by the caller:
How LabVIEW Locates .NET Assemblies
This is basically the same information as Christian posted.
We can also explicitly specify a reference path:
How Do I Prevent LabVIEW from Creating a Copy of a DLL When Building an Executable?