On Sat, 09 Jun 2007 15:27:14 +0100
Pedro Alves <[EMAIL PROTECTED]> wrote:

> Danny Backx wrote:
> > DialogBoxParamW is a macro that calls DialogBoxIndirectParamW.

        According to winuser.h, line 3470, 
                #define DialogBoxW(i,t,p,f) DialogBoxParamW(i,t,p,f,0), 
which is later (line 3476) appears as
                WINUSERAPI int WINAPI 
DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);

        But neither DialogBoxW, nor DialogBoxParamW has occurence in 
libcoredll.a

        I compare this case to MessageBoxW. It is defined in winuser.h (line 
3798) and
I can see it in libcoredll.a either.

> > 
> > 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.

        I have cegcc-0.10.i586.rpm installed. Binaries in 
/usr/ppc/arm-wince-mingw32ce/bin
dated 29 Oct 2006.
> 
> 
> > 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.

        Global solution for me, is to upgrade cegcc RPM, right?

BTW, which one is better to grab from 
http://sourceforge.net/project/showfiles.php?group_id=173455?

Thanks

-------------------------------------------------------------------------
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