From: willer@sq.com (Steve Willer)
Subject: RE: Problems building DLLs with cygwin
6 Dec 1996 07:17:57 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <Pine.WNT.3.95.961206092657.-887355B-100000.cygnus.gnu-win32@willer>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-To: Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
Original-cc: "'David Essex'" <dessex@widow.aracnet.net>,
        "'GNU-Win32'" <gnu-win32@cygnus.com>,
        "'W.Derks@nl.cis.philips.com'" <W.Derks@nl.cis.philips.com>
In-Reply-To: <01BBE37E.13408300@gbird0.fu.is.saga-u.ac.jp>
X-X-Sender: willer@sqarc.sq.com
Original-Sender: owner-gnu-win32@cygnus.com


On Fri, 6 Dec 1996, Colin Peters wrote:

> One place which it's fairly certain this will not work is with C++, since every
> compiler does different name mangling.

Unless you use extern "C". However, I think that Borland implements
exception-handling code in their C++ DLL functions, and you need to
override this behavior with a special .obj file to make your DLL work
right with programs compiled with other compilers (a lowest common
denominator approach).


-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
