RFC: Compiling as 16 bit

Alexandre Julliard julliard at winehq.org
Thu Sep 2 16:59:17 CDT 2010

Morten Rønne <morten.roenne at tdcadsl.dk> writes:

> That struct is already defined in wine/winbase16.h as PDB16.
> So I would like to do this in my test program:
>   #include <wine/winbase16.h>
>   PDB16 *psp;
> In a perfect world this would be enough to have full access to the
> PDB16 struct in the test program.
> But alas, the world is not perfect (yet).

You can't do that. You need to have appropriate 16-bit headers for the
basic Windows stuff, this should come with the compiler. For
undocumented structures and the like, you have to define them yourself.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list