Changeset 602 for trunk/Utilities/Miscellaneous/ExcelControl/Sample.h
- Timestamp:
- Mar 28, 2016, 11:27:28 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Miscellaneous/ExcelControl/Sample.h
r598 r602 1 // Sample.h : Declaration of the CSample 1 //////////////////////////////////////////////////////////// 2 // Copyright (C) Roman Ryltsov, 2016 3 // Created by Roman Ryltsov roman@alax.info 4 // 5 // A permission to use the source code is granted as long as reference to 6 // source website http://alax.info is retained. 7 2 8 #pragma once 3 9 #include "resource.h" // main symbols … … 6 12 7 13 #if defined(_WIN32_WCE) && !defined(_CE_DCOM) && !defined(_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA) 8 #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 #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." 9 15 #endif 10 16 11 17 using namespace ATL; 12 13 14 18 15 19 // CSample
Note: See TracChangeset
for help on using the changeset viewer.