From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL under AppDomain

I compile a Labview (Labview 8.6 + Vision 8.6) code as a DLL. When I calls this DLL from C# exe, its working fine. When I call the DLL from AppDomain it doesn't work, probably because LV dll can't find other dependent DLLs (like Run Time).

Regards

Gabi 

0 Kudos
Message 1 of 2
(2,242 Views)

Hi Gabi,

 

I don't know much about assemblies (which is why I like programming with LabVIEW Smiley Wink), but I bet you're right about the dependent DLL's being the problem. I don't think dependencies are automatically loaded into an AppDomain. You might search the .NET forums for information on loading assemblies with dependencies.

Product Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,221 Views)