Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <F9CC1B4C20A0D411A99E00508BDFA6A204FF9756@enoasnt101.eto.ericsson.se>
From: "Kjell Eirik Solvang (ETO)" <Kjell.Eirik.Solvang@eto.ericsson.se>
To: "'dylan@q-games.com'" <dylan@q-games.com>
Cc: "'cygwin@cygwin.com'" <cygwin@cygwin.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/

