编译出现如下错误
--------------------Configuration: SDMMC - Win32 (WCE ARMV4I) Release--------------------
Compiling resources...
Compiling...
StdAfx.cpp
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin.h(917) : error C2061: syntax error : identifier 'LPDOCINFO'
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(957) : error C2065: 'LPDOCINFO' : undeclared identifier
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(957) : error C2146: syntax error : missing ')' before identifier 'lpDocInfo'
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(957) : error C2433: 'CDC::StartDoc' : 'inline' not permitted on data declarations
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(957) : error C2350: 'CDC::StartDoc' is not a static member
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(957) : error C2059: syntax error : ')'
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(958) : error C2143: syntax error : missing ';' before '{'
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(958) : error C2447: missing function header (old-style formal list?)
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(960) : error C2039: 'StartPage' : is not a member of '`global namespace''
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(960) : error C2660: 'StartPage' : function does not take 1 parameters
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(962) : error C2039: 'EndPage' : is not a member of '`global namespace''
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(962) : error C2660: 'EndPage' : function does not take 1 parameters
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(964) : error C2039: 'SetAbortProc' : is not a member of '`global namespace''
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(964) : error C2065: 'ABORTPROC' : undeclared identifier
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(964) : error C2146: syntax error : missing ')' before identifier 'lpfn'
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(964) : error C2059: syntax error : ')'
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(966) : error C2039: 'AbortDoc' : is not a member of '`global namespace''
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(966) : error C2660: 'AbortDoc' : function does not take 1 parameters
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(968) : error C2039: 'EndDoc' : is not a member of '`global namespace''
c:\program files\windows ce tools\wce500\2440t6\mfc\include\afxwin1.inl(968) : error C2660: 'EndDoc' : function does not take 1 parameters
Error executing clarm.exe.
在Core OS->Windows CE devices->Application and Services Development->Microsoft Foundation Classes(MFC)路径,添加Microsoft Foundation Classes(MFC)组件,这样导出SDK以支持EVC++4.0的MFC;