| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <3B4EC800.A0A92DAA@acris.co.uk> |
| Date: | Fri, 13 Jul 2001 11:05:53 +0100 |
| From: | Julian Hall <jules AT acris DOT co DOT uk> |
| X-Mailer: | Mozilla 4.7 [en-gb] (WinNT; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | cygwin AT sources DOT redhat DOT com |
| Subject: | Re: COM DLL with Cygwin C++? |
| References: | <994918283 DOT 14884 DOT ezmlm AT sources DOT redhat DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |