delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Originating-IP: | [220.244.224.40] |
X-Originating-Email: | [arashp AT hotmail DOT com] |
X-Sender: | arashp AT hotmail DOT com |
From: | "Arash Partow" <arashp AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | RE: Trying to link an MSVC DLL with a Cygwin Application |
Date: | Tue, 04 May 2004 09:07:49 +0000 |
Mime-Version: | 1.0 |
Message-ID: | <BAY9-F27qTnrrXj7gC20000c839@hotmail.com> |
X-OriginalArrivalTime: | 04 May 2004 09:07:50.0203 (UTC) FILETIME=[4655F0B0:01C431B7] |
X-IsSubscribed: | yes |
Hi David, That is a false assumption, I have been able to link a REAL win32 dll against a cygwin application however linking a cygwin compiled dll into a MSVC app is where you will come into troubles. This is because neither cygwin's or ming's dlltool create dlls as specified by MS's dll specification. The name mangling is an issue from VC++ POV not the other way round. My experience comes from building a win32 dll in Borland C++ builder then having a simple console based cygwin gcc compiled app exercise the dll's API - which btw was successful. Arash Partow __________________________________________________ Be one who knows what they don't know, Instead of being one who knows not what they don't know, Thinking they know everything about all things. http://www.partow.net >>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/ . _________________________________________________________________ Personalise your mobile chart ringtones and polyphonics. Go to http://ringtones.com.au/ninemsn/control?page=/ninemsn/main.jsp -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |