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: | [129.78.64.17] |
From: | "Gareth Pearce" <tilps AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Inclusion of windows dll into cygwin code |
Date: | Thu, 29 Aug 2002 03:24:01 +0000 |
Mime-Version: | 1.0 |
Message-ID: | <F256bqV0tpw4SvcDfSD0000a0cd@hotmail.com> |
X-OriginalArrivalTime: | 29 Aug 2002 03:24:01.0453 (UTC) FILETIME=[8501FDD0:01C24F0B] |
>Hi All, > >Let me explain the problem. > >I have a compiled a dll into windows environment using VC++ compiler. I >have written my main function in c which should use this dll. I would like >to compile the code using gcc. I have tried to use the export dll concept >explained in cygwin user guide but that is not working for my case and >generating ld error. > not knowing the ld error, but as a randomised guess, have you not used extern "C" in the declaration of your dll's functions? Gareth. _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |