delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/02/23:57:56

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: [12.254.208.112]
X-Originating-Email: [mgainty AT hotmail DOT com]
From: "Martin Gainty" <mgainty AT hotmail DOT com>
To: "Vishal Jain" <vxj45 AT hotmail DOT com>, <cygwin AT cygwin DOT com>
References: <F74Zx4FR0rmTIVvLVKi00024a8f AT hotmail DOT com>
Subject: Re: Export a new function from cygwin1.dll
Date: Wed, 2 Apr 2003 21:56:52 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <OE205OZyrU4hFJ5I5Fk00003705@hotmail.com>
X-OriginalArrivalTime: 03 Apr 2003 04:57:42.0299 (UTC) FILETIME=[8EEEC6B0:01C2F99D]

Vishal-
the method has to be declared with  __declspec(dllexport) 
e.g.
__declspec( dllexport ) void ExportedFunction();

Keep me apprised,
Martin
----- Original Message ----- 
From: "Vishal Jain" <vxj45 AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Wednesday, April 02, 2003 9:51 PM
Subject: Export a new function from cygwin1.dll


> 
> If I define a new function in cygwin and want to export it,
> what do I need to do?
> thanks,
> Vishal
> 
> 
> 
> 
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> 
> --
> 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/
> 
> 

--
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/

- Raw text -


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