开发者

how to set preprocessor definition of _win32_wce in vs08

How to set preprocessor defination in vs08.By default the value of _win32_wce is $(CEVER) set.but when I build the project the error "c1017 invalid integer constant expression" occur.and warning that environment variable $(CEVER) and $(ceplatform) not set. but when I set it _win32_wce=0x0420 then the all errors removes.but its hard coded.I do't want to do开发者_JS百科 such type.so what should be value of _win32_wce. Note that my poject's earliar solution platform was

PocketPC 2003


This macro : _WIN32_WCE is defined by you platform SDK, this should be defined as follows:

_WIN32_WCE=$(CEVER)

and those are inherited properties, do not define it by yourself.

I suppose you try to use it in Desktop compilations, you should always check if it is defined before use.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜