Line | |
---|
1 | //////////////////////////////////////////////////////////// |
---|
2 | // Copyright (C) Roman Ryltsov, 2008-2012 |
---|
3 | // Created by Roman Ryltsov roman@alax.info |
---|
4 | // |
---|
5 | // $Id: dllmain.cpp 88 2012-08-11 11:44:30Z roman $ |
---|
6 | |
---|
7 | #include "stdafx.h" |
---|
8 | #include "resource.h" |
---|
9 | #include "VbsCallback_i.h" |
---|
10 | #include "dllmain.h" |
---|
11 | |
---|
12 | #if defined(_WIN32_WCE) && !defined(_CE_DCOM) && !defined(_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA) |
---|
13 | #error "Single-threaded COM objects are not properly supported on Windows CE platform, such as the Windows Mobile platforms that do not include full DCOM support. Define _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA to force ATL to support creating single-thread COM object's and allow use of it's single-threaded COM object implementations. The threading model in your rgs file was set to 'Free' as that is the only threading model supported in non DCOM Windows CE platforms." |
---|
14 | #endif |
---|
15 | |
---|
16 | CVbsCallbackModule _AtlModule; |
---|
17 | |
---|
18 | extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) |
---|
19 | { |
---|
20 | hInstance; |
---|
21 | return _AtlModule.DllMain(dwReason, lpReserved); |
---|
22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.