Thread: unloading a dll

  1. #1

    unloading a dll

    can someone tell me what the code would be to unload a dll.

  2. #2
    Registered User
    Join Date
    Feb 2002
    HINSTANCE hLibrary = LoadLibrary("thedarn.dll"); // Load the DLL
    FreeLibrary(hLibrary);         // Unload the DLL

  3. #3
    cool, thank you

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. non-MFC DLL with MFC app question.
    By Kempelen in forum Windows Programming
    Replies: 10
    Last Post: 08-20-2008, 07:11 AM
  2. dll communicating between each other
    By cloudy in forum C++ Programming
    Replies: 5
    Last Post: 06-17-2005, 02:20 AM
  3. Unloading a dll
    By zMan in forum C# Programming
    Replies: 1
    Last Post: 11-10-2004, 12:55 AM
  4. DLL and std::string woes!
    By Magos in forum C++ Programming
    Replies: 7
    Last Post: 09-08-2004, 12:34 PM
  5. .lib vs .h vs .dll
    By Shadow12345 in forum C++ Programming
    Replies: 13
    Last Post: 01-01-2003, 05:29 AM