Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Trying to link an MSVC DLL with a Cygwin Application
content-class: urn:content-classes:message
Date: Tue, 4 May 2004 15:22:29 +1000
Message-ID: <8ED2FA87C8ACC04192709688DDFD5F5F09B9BF@calttsv025.cal.riotinto.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
From: "Billinghurst, David (CALCRTS)" <david.billinghurst@comalco.riotinto.com.au>
To: "john george" <jgsave@yahoo.com>, <cygwin@cygwin.com>
X-OriginalArrivalTime: 04 May 2004 05:22:30.0498 (UTC) FILETIME=[CBF6AC20:01C43197]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i445NXmJ017392

> From: john george
>
> I'm trying to link a MSVC++  created DLL with a cygwin
> application. 
>
> ...
>
> This gives me undefined refernce to function name ...
> 
> Is there anything that I'm missing?

The g++ and MSVC++ mangle C++ names differently.  This makes
it very difficult (perhaps impossible) to link a MSVC++ 
created DLL with a g++ compiled (cygwin or mingw) application.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


