Hello,
After trying the workaround, I have discovered that it does not work as I wanted
. The problem is that it works, but
to compile wxWidgets 2.6.3 and
not to build it. Commenting out the implementation of two functions in the activex.cpp file make the linker throws undefined reference exceptions
.
I have tried some alternatives, but all failed. May be if C::B does make use of non-monolithic version, it could be possible (at list in theory) to just skip the activex stuff.
Moreoever, after some investigation, the author posted this message:
I've done some more digging and it turns out that this problem has nothing to do with ActiveX/COM or MinGW directly. It seems that in a multiple inheritance situation, when the virtual functions have the attribute __stdcall__ applied, the compiler is improperly generating the vtable. I've put together a small program which doesn't know anything about wxWidgets or ActiveX or Win API, in which I can reproduce this erroneous behaviour. One of these days, time permitting, I'm going to submit a problem report to the GCC developers.
The problem seems related to the compiler and not to ActiveX/COM or MinGW (not directly at least). If there was just a solution to get rid of activex...
Sorry for the false hope :oops:. I will correct the title from "to build" into "to compile".
Best wishes,
Michael