This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Linking with "stdcall" library
- To: "Danny Smith" <danny_r_smith_2001 at yahoo dot co dot nz>
- Subject: Re: Linking with "stdcall" library
- From: "Dmitry Timoshkov" <dmitry at baikal dot ru>
- Date: Sat, 12 May 2001 09:56:18 +0800
- Cc: <cygwin at cygwin dot com>
- References: <20010511235329.19284.qmail@web6402.mail.yahoo.com>
"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