pEpCOMServerAdapter.cpp
changeset 0 0aa9866d751c
child 86 e18b34f4b9cc
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pEpCOMServerAdapter.cpp	Thu Apr 16 20:43:31 2015 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +// pEpCOMServerAdapter.cpp : Implementation of WinMain
     1.5 +
     1.6 +
     1.7 +#include "stdafx.h"
     1.8 +#include "resource.h"
     1.9 +#include "pEpCOMServerAdapter_i.h"
    1.10 +#include "xdlldata.h"
    1.11 +
    1.12 +
    1.13 +using namespace ATL;
    1.14 +
    1.15 +
    1.16 +class CpEpCOMServerAdapterModule : public ATL::CAtlExeModuleT< CpEpCOMServerAdapterModule >
    1.17 +{
    1.18 +public :
    1.19 +	DECLARE_LIBID(LIBID_pEpCOMServerAdapterLib)
    1.20 +	DECLARE_REGISTRY_APPID_RESOURCEID(IDR_PEPCOMSERVERADAPTER, "{B3480081-82C0-4EE4-9AA1-3F513C9D78DD}")
    1.21 +};
    1.22 +
    1.23 +CpEpCOMServerAdapterModule _AtlModule;
    1.24 +
    1.25 +
    1.26 +
    1.27 +//
    1.28 +extern "C" int WINAPI _tWinMain(HINSTANCE /*hInstance*/, HINSTANCE /*hPrevInstance*/, 
    1.29 +								LPTSTR /*lpCmdLine*/, int nShowCmd)
    1.30 +{
    1.31 +    return _AtlModule.WinMain(nShowCmd);
    1.32 +}
    1.33 +