This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: COM DLL with Cygwin C++?
- To: cygwin at sources dot redhat dot com
- Subject: Re: COM DLL with Cygwin C++?
- From: Julian Hall <jules at acris dot co dot uk>
- Date: Fri, 13 Jul 2001 11:05:53 +0100
- References: <994918283.14884.ezmlm@sources.redhat.com>
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/