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
DialogBoxParamW is a macro that calls DialogBoxIndirectParamW.
This is defined in 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
You fail to mention which compiler you use.
The source below works fine for me without change with arm-wince-cegcc-g
++, but fails (always displays 0) when using arm-wince-mingw32ce-g++ .
Also in the latter case, the executable is 1MB. The cegcc executable is
only 55K.
Danny
On Wed, 200
Workaround ? For what ?
If you have e.g. a CE 5 device, set the values of these macros to a
value that reflects the version of CE. It should work then.
Check out files such as commctrl.h and you'll see that it is loaded with
stuff that depends on this, see the partial output of a grep command :
In the message below, Iris did his or her best to figure out which
version of our software was causing trouble.
But we don't offer much.
One thing for me to do is add a document that describes how to tell us
which version you have.
Question : how can we make it easy to identify the version of ou
On Wed, 2007-06-06 at 22:01 -0400, Kevin O'Connor wrote:
> Hi Danny,
>
> On Wed, Jun 06, 2007 at 10:15:57PM +0200, Danny Backx wrote:
> > I've just hacked up an experiment that does work, I don't recall what
> > was wrong with my previous attempt of a couple of weeks ago.
> [...]
> > I assume that
Hi Danny,
Sorry i forgot to mention i was building for
mingw32ce. I was also wondering about the filesize.
Why do i get a 1MB binary? I am using
cegcc-mingw32ce-0.14-1.i586.rpm which I got from your
site (the one in sourceforge is outdated and I couldnt
properly build cegcc from source).
Cheers