COM DLL with Cygwin C++?
Julian Hall
jules@acris.co.uk
Fri Jul 13 02:58:00 GMT 2001
I tried to make this work a little while back; unfortunately G++'s object model seems to be incompatible with MSVC++'s, with the effect that only COM objects written in C can be compiled with G++. I think this is due to the name mangling, but there is also a problem with exception handling.
Jules
I have C++ COM DLL that compiles with both GNU/Cygwin
and MSVC V6. I can call the function only when
compiled with MSVC 6, however.
I think this is because of the screwy private
declaration in the Microsoft .DEF file. I never
understood why that was required.
Anyway, how do I acheive the equiv. effect with
GNU/Cygwin C++? Does any one have a sample?
Thanks,
Siegfried
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list