Danny Backx wrote:
> DialogBoxParamW is a macro that calls DialogBoxIndirectParamW.
> 
> This is defined in <winuser.h> but only if the symbol _WIN32_WCE is
> defined.
> 
> So you may have to add -D_WIN32_WCE to your compile command.
> 

That happened on 2006-11-02.  Any release before that doesn't have it.


> Personally I almost always use these flags in compile commands :
>   -D_WIN32_WCE=0x0400 -D_WIN32_IE=0x0400
> 

Defining _WIN32_IE is a workaround.  It shouldn't be needed.  The symbols
it hides should be guarded with this instead:

#if defined(_WIN32_IE) || defined (_WIN32_WCE)

> But if you have a device with an older version of Windows CE, this may
> not be right for you.
> 

Right.  _WIN32_WCE defaults to 0x300, and is visible as long as you include
any w32api file.

Cheers,
Pedro Alves



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to