On Sun, 2007-11-18 at 17:17 +0000, Pedro Alves wrote:
> Hi guys,
>
> Should _WIN32_WCE be hexadecimal or decimal?
I've been silent because I'm not sure myself.
Here's something I just found in an include file generated by eVC++ :
#ifndef __NEWRES_H__
#define __NEWRES_H__
#define SHMENUBAR RCDATA
#if !(defined(_WIN32_WCE_PSPC) && (_WIN32_WCE >= 300))
#undef HDS_HORZ
#undef HDS_BUTTONS
#undef HDS_HIDDEN
#include <commctrl.h>
// for MenuBar
Not only does it use a decimal value for _WIN32_WCE, it also seems to
imply that we need to add code to <windows.h> along these lines :
#if defined(_WIN32_WCE_PSPC) || (_WIN32_WCE >= 300)
#include <commctrl.h>
#endif
I've rewritten the condition on purpose, it doesn't match the negation
of what eVC++ generated. I'd like input on that too :-)
> Anyone know which was the first SDK/IDE pair
> that that started expecting/defining _WIN32_WCE as hex?
The code I've included above is from eVC++ 4 .
Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel