------ Build started: Project: xxxxxx, Configuration: Debug Pocket PC
2003 (ARMV4) ------
Compiling...
StdAfx.cpp
WINVER not defined. Defaulting to 0x0400, which is appropriate for all
supported Windows CE versions
_CE_ACTIVEX was not defined because this Windows CE SDK does not have
DCOM.
_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.
_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
C:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\afxwin.h(2296) : error C2143: syntax error :
missing ')' before 'constant'
C:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\afxwin.h(2296) : error C2143: syntax error :
missing ';' before 'constant'
C:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\afxwin.h(2296) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include\afxwin.h(2296) : error C2238: unexpected
token(s) preceding ';'
Build log was saved at "file://c:\Documents and Settings\xxx\My
Documents\xxxx\Pocket PC 2003 (ARMV4)\Debug\BuildLog.htm"
xxxx - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped
==========

afxwin.h
#ifdef _WIN32_WCE
// Windows CE shell functions
BOOL SHDoneButton(HWND m_hWnd, BOOL SHDB_HIDE);
BOOL SHRecognizeGesture(CPoint point, BOOL bSendNotification = TRUE);
#endif // WIN32_WCE

this is oringinally a eVC4 project, and i try to migrate it to VS2005,
and above errors encountered...dont have clue abt what to do...really
need you guys help...

Michael

Re: Syntax error of afxwin.h by ctacke/>

ctacke/>
Tue Feb 21 21:33:18 CST 2006

Next time a start at Google rather than the groups might be useful. It
would have lead you to this quickly:

http://blogs.msdn.com/jeffabraham/archive/2005/10/10/479390.aspx

-Chris


"RookieMike" <liqing.michael@gmail.com> wrote in message
news:1140575385.418774.185080@g44g2000cwa.googlegroups.com...
> ------ Build started: Project: xxxxxx, Configuration: Debug Pocket PC
> 2003 (ARMV4) ------
> Compiling...
> StdAfx.cpp
> WINVER not defined. Defaulting to 0x0400, which is appropriate for all
> supported Windows CE versions
> _CE_ACTIVEX was not defined because this Windows CE SDK does not have
> DCOM.
> _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.
> _ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
> C:\Program Files\Microsoft Visual Studio
> 8\VC\ce\atlmfc\include\afxwin.h(2296) : error C2143: syntax error :
> missing ')' before 'constant'
> C:\Program Files\Microsoft Visual Studio
> 8\VC\ce\atlmfc\include\afxwin.h(2296) : error C2143: syntax error :
> missing ';' before 'constant'
> C:\Program Files\Microsoft Visual Studio
> 8\VC\ce\atlmfc\include\afxwin.h(2296) : error C2059: syntax error : ')'
> C:\Program Files\Microsoft Visual Studio
> 8\VC\ce\atlmfc\include\afxwin.h(2296) : error C2238: unexpected
> token(s) preceding ';'
> Build log was saved at "file://c:\Documents and Settings\xxx\My
> Documents\xxxx\Pocket PC 2003 (ARMV4)\Debug\BuildLog.htm"
> xxxx - 4 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped
> ==========
>
> afxwin.h
> #ifdef _WIN32_WCE
> // Windows CE shell functions
> BOOL SHDoneButton(HWND m_hWnd, BOOL SHDB_HIDE);
> BOOL SHRecognizeGesture(CPoint point, BOOL bSendNotification = TRUE);
> #endif // WIN32_WCE
>
> this is oringinally a eVC4 project, and i try to migrate it to VS2005,
> and above errors encountered...dont have clue abt what to do...really
> need you guys help...
>
> Michael
>



Re: Syntax error of afxwin.h by RookieMike

RookieMike
Tue Feb 21 23:19:21 CST 2006


<ctacke/> wrote:

> Next time a start at Google rather than the groups might be useful. It
> would have lead you to this quickly:
>
> http://blogs.msdn.com/jeffabraham/archive/2005/10/10/479390.aspx
>
> -Chris
>
Hi thanks so much Chris... and sorry I didnt make myself so clear, I
am more concerned about the syntax errors. Thanks lot for your
information, it help a lot too!!! But the syntax errors still not go
away...


Re: Syntax error of afxwin.h by RookieMike

RookieMike
Tue Feb 21 23:19:35 CST 2006


<ctacke/> wrote:

> Next time a start at Google rather than the groups might be useful. It
> would have lead you to this quickly:
>
> http://blogs.msdn.com/jeffabraham/archive/2005/10/10/479390.aspx
>
> -Chris
>
Hi thanks so much Chris... and sorry I didnt make myself so clear, I
am more concerned about the syntax errors. Thanks lot for your
information, it help a lot too!!! But the syntax errors still not go
away...