I am currently trying to get MinGW (a Windows port of GCC) to compile a Win32 DLL that interacts with an EXE I made using VC++. The problem is: in GCC it appears that when I obtain pointers to C++ objects that have a virtual table, I get the address the first "real" data member and not the address of the hidden vtable data member. The EXE assumes that the pointer to the object is the address of the vtable data member. I tried using the "-fvtable-thunks" option, but it did not correct the problem. Is there some other option that I can use, or am I just out of luck?
Thanks in advance,
0 · ·