DECIMAL struct
Stefan Leichter
Stefan.Leichter at camLine.com
Sun May 11 11:57:23 CDT 2003
On Sunday 11 May 2003 12:03, Dmitry Timoshkov wrote:
> "Stefan Leichter" <Stefan.Leichter at camLine.com> wrote:
> > was the posting not clear ;-) ? In this case i modify the question a
> > little to make it clearer. I am trying to build this little program with
> > gcc 2.95.3:
>
> Try this (completely not tested, just based on the header investigation):
>
> Add
>
> #define NONAMELESSSTRUCT
> #define NONAMELESSUNION
>
> > #include <stdio.h>
> > #include <windows.h>
> >
> > int main(int argc,char *argv[])
> > { DECIMAL decOut;
> > decOut.scale=0x0;
> > decOut.Mid32=0x0;
>
> two lines above replace by
>
> decOut.u.s.scale = 0;
> decOut.u1.s1.Mid32 = 0;
It works.
Thanks Stefan
More information about the wine-devel
mailing list