please don't apply RPC Merge D_PL1

Alexandre Julliard julliard at
Tue Oct 15 11:56:13 CDT 2002

Greg Turner <gmturner007 at> writes:

> I like this theory, it has recently occured to me too.  I will try compiling the 
> sample using stdcall and see if that has an effect, after work.  Also,
> in the winelib version, I changed main() to stdcall from cdecl (!) which
> I took to mean that winelib framework didn't want that calling convention.

It's not an stdcall/cdecl issue, Ove is right that it's a problem with
returning a structure, gcc doesn't do it the same way as msvc. Just
change NdrClientCall2 to return a LONG_PTR (it won't be 100% source
compatible then, but we have no choice I'm afraid).

Alexandre Julliard
julliard at

More information about the wine-devel mailing list