Re: [GD-Windows] C++ decorated names
Brought to you by:
vexxed72
From: <cas...@ya...> - 2003-06-16 23:27:06
|
Jon Watte wrote: > I wouldn't assume that exception tables, RTTI, vtable layout, > or even calling conventions would be the same between different > C++ compilers. Basically, C++ in shared libraries is a really > scary concept, because the standard didn't at all anticipate > (or want to deal with) those issues. That's scary, but after some little googling I've found some nice pieces of info. http://www.bcbdev.com/articles/vcdll.htm http://mywebpage.netscape.com/yongweiwu/stdcall.htm It seems that mingw has an option to support msvc vtable layout, so that you can use COM objects. So, as long as you only export pure interfaces, you should be safe. However, I'm not on using pure interfaces only. I also use interface inheritance and virtual destructors... I don't know how those affect the layout of the vtables and if they will still be compatible. Does somebody know what can and can't be done? Ignacio Castaño cas...@ya... |