Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: From: "Kjell Eirik Solvang (ETO)" To: "'dylan AT q-games DOT com'" Cc: "'cygwin AT cygwin DOT com'" Subject: DirectX8/DirectInput + cygwin Date: Wed, 6 Feb 2002 16:01:28 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" I dont know if this will help you, but here is how i have used dll's generated with visual studio First create a .def file for the dll using the impdef tool. Use the dlltool and the .def file to create a library (.a file). eg. dlltool --dllname foo.dll --def foo.def --output-lib libfoo.a -k When linking with the library(.a), the linker will report not found for the functions in the dll, and a "@"+integer value. Add the "@"+integer to the appropriate function in the .def file, and create the library file again. regards Kjell -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/