Hi all,
My tools:
MS VS 2005
WM PPC 5.0
Windows Media Player 10 SDK
Code sample is downloaded from
http://www.microsoft.com/downloads/details.aspx?FamilyID=46ba698a-c00d-4b90-9177-460854f1b57c&DisplayLang=en#Overview
I compile PPCWmpHost workspace...
Compiling...
1>wmphost.cpp
1>_CE_ACTIVEX was not defined because this Windows CE SDK does not have
DCOM.
1> _CE_ACTIVEX could be caused to be defined by defining
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, but it is recommended that
this be done only for single-threaded apps.
1>_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
1>WINVER was defined to be 0x0400, as it was either not set or set to a
lower value
1>C:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\atlhost.h(43) : fatal error C1189: #error :
atlhost.h requires Hosting support (_ATL_NO_HOSTING is defined). For
Windows CE platforms without DCOM support,
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA needs to be defined.
1>PopDlgs.cpp
1>_CE_ACTIVEX was not defined because this Windows CE SDK does not have
DCOM.
1> _CE_ACTIVEX could be caused to be defined by defining
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, but it is recommended that
this be done only for single-threaded apps.
1>_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
1>WINVER was defined to be 0x0400, as it was either not set or set to a
lower value
1>C:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\atlhost.h(43) : fatal error C1189: #error :
atlhost.h requires Hosting support (_ATL_NO_HOSTING is defined). For
Windows CE platforms without DCOM support,
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA needs to be defined.
1>MediaLibraryDlg.cpp
1>_CE_ACTIVEX was not defined because this Windows CE SDK does not have
DCOM.
1> _CE_ACTIVEX could be caused to be defined by defining
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, but it is recommended that
this be done only for single-threaded apps.
1>_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
1>WINVER was defined to be 0x0400, as it was either not set or set to a
lower value
1>C:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\atlhost.h(43) : fatal error C1189: #error :
atlhost.h requires Hosting support (_ATL_NO_HOSTING is defined). For
Windows CE platforms without DCOM support,
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA needs to be defined.
1>CWMPHost.cpp
1>_CE_ACTIVEX was not defined because this Windows CE SDK does not have
DCOM.
1> _CE_ACTIVEX could be caused to be defined by defining
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, but it is recommended that
this be done only for single-threaded apps.
1>_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
1>WINVER was defined to be 0x0400, as it was either not set or set to a
lower value
1>C:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\atlhost.h(43) : fatal error C1189: #error :
atlhost.h requires Hosting support (_ATL_NO_HOSTING is defined). For
Windows CE platforms without DCOM support,
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA needs to be defined.
1>CWMPEventDispatch.cpp
1>_CE_ACTIVEX was not defined because this Windows CE SDK does not have
DCOM.
1> _CE_ACTIVEX could be caused to be defined by defining
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, but it is recommended that
this be done only for single-threaded apps.
1>_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
1>WINVER was defined to be 0x0400, as it was either not set or set to a
lower value
1>C:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\atlhost.h(43) : fatal error C1189: #error :
atlhost.h requires Hosting support (_ATL_NO_HOSTING is defined). For
Windows CE platforms without DCOM support,
_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA needs to be defined.
Any information will be appreciated.
Thanks in advance,
DM