Subject: Re: Linking with "stdcall" library
From: "Dmitry Timoshkov" <[email-masked]>
To: "Danny Smith" <[email-masked]>
Cc: <[email-masked]>
Date: Sat, 12 May 2001 11:57:44 +0800

"Danny Smith" <[email-masked]> wrote:

> -- start of test-dll.def --
> EXPORTS
>     MyCloseHandle@4
> -- end of test-dll.def --
> 
> 
> dlltool --kill-at --input-def test-dll.def --output-lib libtest-dll.a

Yes!!!!!!!!

Thank you very much, Danny!

Just a tiny addition for those who will search for a solution in the
archives: add '--dllname DLLNAME' to the command line or line 'NAME DLLNAME'
to the .def file to provide correct dll name for the linker.

Another related question: how either an import library or just a .def file
could be created from a .dll file?

Again, thanks for your help.
--
Dmitry.

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