|
From: Marcello P. <te...@at...> - 2000-12-13 18:13:20
|
Hi Mingw team, I was trying to compile Blitz++ but as you know Microsoft is not able to do a decently updated compiler. Unfortunately I know well MFC, and for many other reasons I cannot switch completely to an other compiler. So I though to make a DLL with Mingw and then create a library from it using the two Microsoft utilities together: DUMPBIN /EXPORTS <.DLL file name> (or, better, dllwrap ... --output-def ) LIB /DEF:namedll.def /MACHINE:IX86 Everything is working perfectly with C functions, but not with C++ classes. There are two problems: 1) it is hard to decipher the name mangling of Microsoft's compiler (especially for overloaded functions) 2) I need to export the virtual table It seems possible to export/import the virtual table but I'm wondering if the virtual table would be managed by the gnu compiler in way compatible with the MS Visual C++ compiler. What do you think ? Do I have to give up ? Marcello |