How to have Main Aopp exit leaving active DLL?

Discussion in 'Win32' started by louarnold, Oct 12, 2010.

  1. louarnold

    louarnold New Member

    Joined:
    Oct 12, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I have a successfully operating Main App and simple DLL. I would like to have the Main App exit, and leave the DLL running. How can this be done?

    The Main App loads the DLL and sets a global hook. This works well, but the callbacks to the DLL come only because of a message loop in the Main App. How can this message loop be moved into the DLL or done away with altogether?

    I am running VC++ 2010, but the code is largely C for the native Windows 32bit API. This is under Windows XP SP3.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice