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.

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

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

        Danny


On Thu, 2007-06-07 at 20:16 +0400, Iris wrote:
> Hello.
>       I've changed a little demo - dialog.c, using DialogBoxW() instead of 
> MessageBoxW(), for instance.
> 
> [EMAIL PROTECTED]:~/src> /usr/ppc/arm-wince-mingw32ce/bin/gcc dia2.c 
> /tmp/ccSVUPqw.o:dia2.c:(.text+0x68): undefined reference to `DialogBoxParamW'
> collect2: ld returned 1 exit status
> 
>       How to fix that?
>       The only occurance of DialogBoxParamW() is 
> ./arm-wince-mingw32ce/include/w32api/winuser.h
> 
> P.S. I'm using "GNU C version 4.1.0 (arm-wince-mingw32ce), (4.0.1-5mdk for 
> Mandriva Linux release 2006.0)"

-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info

Attachment: signature.asc
Description: This is a digitally signed message part

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