From: Mikael A. <mik...@te...> - 2002-02-01 09:44:55
|
msvc and gcc has different mangling format for C++ names so you can't mix code compiled with the two. Mikael ----- Original Message ----- From: "dezai G" <wi...@ya...> To: <Min...@li...> Sent: Friday, February 01, 2002 10:18 AM Subject: [Mingw-users] mingw32 C++ class DLL in VC++ > Hi, > I am newbie in mingw32. My need today is to be able to > link some c++ class compiled with mingw32 and other > c++ class compiled with microsoft vc++. The files in > the two sides may be in static libraries .a and .lib > or in dlls. > The final executable may also be created by mingw32 or > vc++. I will choose the simplest way. > The main problem is to mix my libraries. > I have built a c++ class as a DLL by Mingw32 and tried > to load this library using microsoft vc++. But my vc++ > linker declared that all the symbols from my DLL were > unresolved. > It seems that the decorated C++ names used by vc++ are > not the same with those used by mingw32. > It seems also that C files work better because we dont > use the decorated names. > So do it exists a solution ? > Dezai > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran=E7ais ! > Yahoo! Mail : http://fr.mail.yahoo.fr > > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users |