Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <002a01c0da97$dc5552b0$c5823bd5@dima> From: "Dmitry Timoshkov" To: "Danny Smith" Cc: References: <20010512025148 DOT 2365 DOT qmail AT web6402 DOT mail DOT yahoo DOT com> Subject: Re: Linking with "stdcall" library Date: Sat, 12 May 2001 11:57:44 +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" wrote: > -- start of test-dll.def -- > EXPORTS > MyCloseHandle AT 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