LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

unload dll

Hi,

I have a LV application that have some Exit problems. LV hangs. I think the
problem is related to unload problems of a dll. Normally the dll is unloaded
then the application is closed. Can I programmely unload the dll before i
close the application?

Best Regards,

Morten Pedersen
0 Kudos
Message 1 of 3
(3,270 Views)
You cannot programatically unload dlls. You have to either shut down your VI or close LabVIEW.
0 Kudos
Message 2 of 3
(3,270 Views)
Well, you can unload dll's manually, but only if you loaded them manually
(if you use LoadLibrary functions). The calling mechanism gets a bit more
difficult, if you do it like this.

LabVIEW probably uses LoadLibrary (or LoadLibraryEx) to load and unload
them, so I doubt that it will solve the problem.

Regards,

Wiebe.


"Jeremy Braden" wrote in message
news:506500000005000000B7780100-1079395200000@exchange.ni.com...
> You cannot programatically unload dlls. You have to either shut down
> your VI or close LabVIEW.
0 Kudos
Message 3 of 3
(3,270 Views)