LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unload an external dll from memory

Hello friends,
 
we are currently trying to resolve the following problem:
 
A vendor supplied dll has certain problems that can probably only be solved by unloading the dll from memory. This happens naturally when the application quits. But we need to reset it at run time. Is it possible to tell windows and/or labview to remove the dll from memory, so that it is being reloaded with the next call?
 
Best regards
Matthias
0 Kudos
Message 1 of 3
(3,309 Views)
Hi Matthias
see following thread


:http://sine.ni.com/niforum/niforum?forumDU=http://forums.ni.com/ni/board/message?board.id=170&message.id=77198&requireLogin=False

or just search forum with appropiate trigger words

hope it helps
chow
xseadog
0 Kudos
Message 2 of 3
(3,303 Views)
Hello Matthias,

LabView unloads the DLL when the VI that uses this DLL is unloaded. This happens when the application quits or when you close LabView. However you could use the VI-Server technology to dynamically load the VI using the dll. This has the advantage, that you could unlaod the VI after you used it, and so the DLL would be unloaded, too. YOu can check the developer zone on www.ni.com, if you are not familiar with the VI-Server technology.

Hope this helps!

Andre
0 Kudos
Message 3 of 3
(3,287 Views)