Re: SIGSEGV in IDirectDrawImpl_EnumDisplayModes (test program)

2002-11-27 Thread Christian Costa
Lionel Ulmer wrote: Well, the problem seems to come from an incompatibility between g++ and the way Wine defines COM objects. From my experiences, the g++ vtable starts at offset 8 whereas Wine defines COM object vtables as starting at offset 0 (ie vtable[0] == first method whereas for g++

Re: SIGSEGV in IDirectDrawImpl_EnumDisplayModes (test program)

2002-11-01 Thread Matthew Bloch
On Friday 01 November 2002 12:19, Lionel Ulmer wrote: Yes, to my eye it looks like a linking problem but I'm not sure how to tell. Maybe if I whittle it down to a single .c file which I can post to the list it'll make it easier to diagnose. Well, the easier would be that, yes. Basically,

Re: SIGSEGV in IDirectDrawImpl_EnumDisplayModes (test program)

2002-11-01 Thread Lionel Ulmer
Well, the problem seems to come from an incompatibility between g++ and the way Wine defines COM objects. From my experiences, the g++ vtable starts at offset 8 whereas Wine defines COM object vtables as starting at offset 0 (ie vtable[0] == first method whereas for g++ vtable[2] == first method).