This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: COM DLL with Cygwin C++?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]