COM vtable inconsistencies with g++ (was SIGSEGV in IDirectDrawImpl_EnumDisplayModes)

Christian Costa titan.costa at
Thu Nov 28 01:25:04 CST 2002

Ove Kaaven wrote:

>On Sat, 2 Nov 2002, Matthew Bloch wrote:
>>So with the ICOM_MSVTABLE_COMPAT flag set I get the "off-by-two" calling error 
>>from within Winelib when it's trying to invoke a COM function.  When it's not 
>>set I get the same bug occurring in my program when it tries to do the same.
>Don't use ICOM_MSVTABLE_COMPAT with newer g++ versions, it's obsolete. Use
Does ICOM_USE_INTERFACE_ATTRIBUTE prevent g++ to add the 8 bytes offset?
 From which g++ version this can be used?

More information about the wine-devel mailing list