fatal error C1189: #error : This Windows CE SDK does not support mini-COM with OLE or the full DCOM
下面为已解决:
1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlcommem.h(71) :
error C2039: 'CoTaskMemSize' : is not a member of '`global namespace''
2>C: \Program Files \Microsoft Visual Studio 8 \VC \ce \atlmfc \include \atlcommem.h (71):
error C3861: ' CoTaskMemSize ': identifier not found
解决方法:
在stdafx.h最上面添加#include <AtlCtl.h>
或项目属性->C/C++->PreProcessor->PreProcessor Definitions Add _WIN32_WCE 定义
////////////////////////////////////////////////////////////////////////////////////////////////
当我将EVC4.0项目转换为VS2005时,出现如下错误, 望高手指点.
c:\program files\microsoft visual studio 8\vc\ce\atlmfc\include\atldefce.h(55) : fatal error C1189: #error : This Windows CE SDK does not support mini-COM with OLE or the full DCOM. One of these is required inorder to use ATL.