How to have Main Aopp exit leaving active DLL?

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

  1. louarnold

    louarnold New Member

    Oct 12, 2010
    Likes Received:
    Trophy Points:
    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