public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygwin C++ DLLs and inter-operation with M$OFT
@ 2002-02-13  2:57 Dylan Cuthbert
  2002-02-13  7:37 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 7+ messages in thread
From: Dylan Cuthbert @ 2002-02-13  2:57 UTC (permalink / raw)
  To: Cygwin@Cygwin. Com

To anyone who can help,

We've been having some fun creating DLLs that need to be loaded by some
Visual C++ code.  The code in the dll itself, ie. the interface is C so
there aren't any name mangling problems.  However, using v3.0.3 of GCC we
get unresolved symbol errors for any libstdc++ we do within the dll.  These
errors don't occur after using the -V 2.95.3-5 option to gcc to revert to
the originally packaged compiler - I had a good poke around but I couldn't
work out why the symbols couldn't be resolved.

Anyway, after reverting to 2.95.3-5, our test code compiles but when we call
any cygwin dll code (from the VS application) we get an exception error in
cygwin1.dll - if the code uses any stdlib type stuff (such as memory
allocation, printf etc).  There is no C++ code in there at all now.

I've read through the faqs and documentation and searched the mailing list
but I can't find any fixes for this problem (although a couple of other
people do mention it).  Is there just some obvious initialisation stuff I'm
missing somewhere?

Regards

---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com


--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-02-15  0:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-13  2:57 cygwin C++ DLLs and inter-operation with M$OFT Dylan Cuthbert
2002-02-13  7:37 ` Larry Hall (RFK Partners, Inc)
2002-02-13 19:06   ` cygwin gcc DLLs loaded by Visual C++ crashing Dylan Cuthbert
2002-02-13 22:09     ` cygwin gcc DLLs loaded by Visual C++ crashing - SOLVED Dylan Cuthbert
2002-02-14  7:23       ` Christopher Faylor
2002-02-14 16:14         ` Dylan Cuthbert
2002-02-14 16:35           ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).