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: 

unload dll using windows

is there a way to tell windows to unload a dll using labview?

i mean a function or code that works for that

thanks

0 Kudos
Message 1 of 3
(2,272 Views)

tokyghy,

 

What exactly do you mean by have Windows unload a .dll? Have you tried searching MSDN to find the Windows API functions that would unload a .dll in the desired manner? If you could find that in the Windows API you can call it in LabVIEW. Let us know what you find.

KyleP
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,254 Views)

This only works for DLLs loaded in Labview, causing a 3rd Party Programm or windows itself to unload a DLL you will need do adress a function that will do this for you.

 

Can I Dynamically Load and Unload a DLL in LabVIEW?

http://digital.ni.com/public.nsf/allkb/77594203D78D12278625729100758BE5?OpenDocument

0 Kudos
Message 3 of 3
(2,233 Views)