LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.NET DLL and EXE

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?

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 3
(2,659 Views)

How the Runtime Locates Assemblies

 

This link should help Smiley Happy

 

Christian

Message 2 of 3
(2,630 Views)

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.

DLLinExe.PNG

 

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?

 

Joey S.
Senior Product Manager, Software
National Instruments
Message 3 of 3
(2,606 Views)