compiling for 64bit: types and format strings

Alexandre Julliard julliard at
Wed Feb 17 10:06:51 CST 2010

<Joerg-Cyril.Hoehle at> writes:

> More specifically, regarding format strings, I'm unsure
> whether it's actually possible to find %d/%ld formats that work
> on both systems for all types one comes across (UINT, MMRESULT etc.)
> What's the receipe?

All Win32 types are the same across platforms and can be printed without
issues (except on Mingw but we don't care). Standard C types like size_t
vary across platforms and should be avoided in traces.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list