Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <002a01c0da87$1d815830$c6823bd5@dima>
From: "Dmitry Timoshkov" <dmitry@baikal.ru>
To: "Danny Smith" <danny_r_smith_2001@yahoo.co.nz>
Cc: <cygwin@cygwin.com>
References: <20010511235329.19284.qmail@web6402.mail.yahoo.com>
Subject: Re: Linking with "stdcall" library
Date: Sat, 12 May 2001 09:56:18 +0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit
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@yahoo.co.nz> wrote:

> If you really want the undecorated name as well, add an alias:
> EXPORTS
>      MyCloseHandle@4
>      MyCloseHandle=MyCloseHandle@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

