DECIMAL struct

Dmitry Timoshkov dmitry at
Sun May 11 05:03:20 CDT 2003

"Stefan Leichter" <Stefan.Leichter at> 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):



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


More information about the wine-devel mailing list