| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <F9CC1B4C20A0D411A99E00508BDFA6A204FF9756@enoasnt101.eto.ericsson.se> |
| From: | "Kjell Eirik Solvang (ETO)" <Kjell DOT Eirik DOT Solvang AT eto DOT ericsson DOT se> |
| To: | "'dylan AT q-games DOT com'" <dylan AT q-games DOT com> |
| Cc: | "'cygwin AT cygwin DOT com'" <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) |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |