delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/06/07:17:57

From: willer AT sq DOT com (Steve Willer)
Subject: RE: Problems building DLLs with cygwin
6 Dec 1996 07:17:57 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.WNT.3.95.961206092657.-887355B-100000.cygnus.gnu-win32@willer>
Mime-Version: 1.0
Original-To: Colin Peters <colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp>
Original-cc: "'David Essex'" <dessex AT widow DOT aracnet DOT net>,
"'GNU-Win32'" <gnu-win32 AT cygnus DOT com>,
"'W DOT Derks AT nl DOT cis DOT philips DOT com'" <W DOT Derks AT nl DOT cis DOT philips DOT com>
In-Reply-To: <01BBE37E.13408300@gbird0.fu.is.saga-u.ac.jp>
X-X-Sender: willer AT sqarc DOT sq DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019