NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Tokyghy
Posts: 48
0 Kudos

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

Member
KyleP
Posts: 129
0 Kudos

Re: unload dll using windows

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
Active Participant
Alex_Pi
Posts: 324
0 Kudos

Re: unload dll using windows

[ Edited ]

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

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page