How to deal with variables where the size differs for 32 and 64bit

Austin English austinenglish at
Tue Dec 7 00:52:38 CST 2010

On Sun, Dec 5, 2010 at 12:05 PM, Paul Vriens < at> wrote:
> Hi,
> Just found the fix for the oledb32:convert tests on 64bit. We need to adjust
> our oledb.idl (see patch attached).
> How should I deal with the ok() messages where we currently specify the
> 32bit variant? I mean this will of course introduce warnings on the 64bit
> side.
> Do I need to create a wrapper for the ok() messages, with a _WIN64 check
> somewhere? Or use a different printf format identifier?
> The same is also true for the TRACE() messages in our implementation.

Why not use an #ifdef there as well? A few other tests do it, for example:;f=dlls/mshtml/tests/dom.c#l3707;f=dlls/kernel32/tests/process.c#l1764


More information about the wine-devel mailing list