fatal error RC1017: invalid integer constant expression

錯誤為



Error 1 fatal error RC1017: invalid integer constant expression C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\winuser.rh 1566


錯誤的地方為



#if(_WIN32_WCE >= 0x0500)

#define DS_USEPIXELS 0x8000L

#endif



原因為在 project properties 中多定義了 _WIN32_WCE,而程式是跑在 win32 的

留言

熱門文章