delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/11/22:00:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <002a01c0da87$1d815830$c6823bd5@dima>
From: "Dmitry Timoshkov" <dmitry AT baikal DOT ru>
To: "Danny Smith" <danny_r_smith_2001 AT yahoo DOT co DOT nz>
Cc: <cygwin AT cygwin DOT com>
References: <20010511235329 DOT 19284 DOT qmail AT web6402 DOT mail DOT yahoo DOT com>
Subject: Re: Linking with "stdcall" library
Date: Sat, 12 May 2001 09:56:18 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

"Danny Smith" <danny_r_smith_2001 AT yahoo DOT co DOT nz> wrote:

> If you really want the undecorated name as well, add an alias:
> EXPORTS
>      MyCloseHandle AT 4
>      MyCloseHandle=MyCloseHandle AT 4

Yes, that will fix the problem. But how it could be automated?
How the .def file with both names could be created from a .dll file?
I checked libraries provided by cygwin in C:\cygwin\lib: libkernel32.a
libuser32.a, etc. They all have both undecorated and decorated names and
of course linking with them has no problems. How they were created?

Thanks for your help.
--
Dmitry.


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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