pEpCOMServerAdapter.cpp
changeset 89 56b26b1c4f3b
parent 88 659d0fc5bc30
child 90 1328c5a129ea
     1.1 --- a/pEpCOMServerAdapter.cpp	Sun Jun 19 07:59:43 2016 +0200
     1.2 +++ b/pEpCOMServerAdapter.cpp	Sun Jun 19 08:17:04 2016 +0200
     1.3 @@ -14,8 +14,10 @@
     1.4  class CpEpCOMServerAdapterModule : public ATL::CAtlExeModuleT< CpEpCOMServerAdapterModule >
     1.5  {
     1.6  public:
     1.7 -    CpEpCOMServerAdapterModule() : ATL::CAtlExeModuleT< CpEpCOMServerAdapterModule >(), gatekeeper_thread(NULL)
     1.8 +    HRESULT PreMessageLoop(int nShowCmd)
     1.9      {
    1.10 +        ATL::CAtlExeModuleT< CpEpCOMServerAdapterModule >::PreMessageLoop(nShowCmd);
    1.11 +
    1.12          gatekeeper_thread = new thread(gatekeeper, this);
    1.13          gatekeeper_thread->detach();
    1.14      }