pEpCOMServerAdapter.cpp
author Thomas
Wed, 02 May 2018 09:46:48 +0200
branchCOM-87
changeset 287 99abd7d70c1e
parent 269 26c8597fe860
permissions -rw-r--r--
Rename flags
vb@0
     1
// pEpCOMServerAdapter.cpp : Implementation of WinMain
vb@0
     2
vb@0
     3
vb@0
     4
#include "stdafx.h"
vb@0
     5
#include "resource.h"
vb@0
     6
#include "xdlldata.h"
vb@0
     7
vb@88
     8
#include "GateKeeper.h"
vb@110
     9
#include "pEpCOMServerAdapter.h"
vb@0
    10
vb@0
    11
using namespace ATL;
vb@86
    12
using namespace std;
vb@0
    13
vb@117
    14
void CpEpCOMServerAdapterModule::gatekeeper(CpEpCOMServerAdapterModule * self)
vb@86
    15
{
vb@96
    16
    pEp::GateKeeper keeper(self);
vb@86
    17
    keeper.keep();
vb@86
    18
}
vb@86
    19
vb@0
    20
CpEpCOMServerAdapterModule _AtlModule;
vb@0
    21
vb@0
    22
//
vb@110
    23
extern "C" int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, 
markus@269
    24
                                LPTSTR /*lpCmdLine*/, int nShowCmd)
vb@0
    25
{
vb@110
    26
    _AtlModule.hModule(hInstance);
vb@110
    27
    _AtlModule.start_gatekeeper();
vb@110
    28
vb@0
    29
    return _AtlModule.WinMain(nShowCmd);
vb@0
    30
}