DirectX8/DirectInput + cygwin

2002-02-06 Thread Dylan Cuthbert
Hello there, I've searched the archives high and low and can't seem to find a solution to my problem. When compiling a DirectInput8 function such as DirectInput8Create() I get an error linking: Unable to resolve DirectInput8Create@20 I am linking directly with the .lib files supplied by Micros

DirectX8/DirectInput + cygwin

2002-02-06 Thread Kjell Eirik Solvang (ETO)
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

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Wade Brainerd
Sounds like a DEF file problem. Functions in DLLs use a different naming convention from C++ mangled names and C identifiers, usually: @ArgSize ...where ArgSize is the total size of all the parameters arguments, say for example a function MyFunction taking a single pointer as a parameter would

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Dylan Cuthbert
ot;Wade Brainerd" <[EMAIL PROTECTED]> To: "Dylan Cuthbert" <[EMAIL PROTECTED]> Cc: "Cygwin@Cygwin. Com" <[EMAIL PROTECTED]> Sent: Wednesday, February 06, 2002 7:38 PM Subject: Re: DirectX8/DirectInput + cygwin > Sounds like a DEF file problem. Funct

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Barubary
dll. Then the problem becomes how to get to the weird global functions (D3DX matrix stuff, for instance). -- Barubary - Original Message - From: "Dylan Cuthbert" <[EMAIL PROTECTED]> To: "Cygwin@Cygwin. Com" <[EMAIL PROTECTED]> Sent: Wednesday, Febr

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Pavel Tsekov
Dylan Cuthbert wrote: > Hello there, > > I've searched the archives high and low and can't seem to find a solution to > my problem. > > When compiling a DirectInput8 function such as DirectInput8Create() I get an > error linking: > > Unable to resolve DirectInput8Create@20 > > I am linking d

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Dylan Cuthbert
ubary" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 06, 2002 8:11 PM Subject: Re: DirectX8/DirectInput + cygwin > Getting DirectX to work from cygwin GCC essentially can't be done from C++, > but can be done from C. It can't be done from C++ b

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Pavel Tsekov
What do you mean they dont work ? Maybe there are missing features ? Of course if this is the case you can contribute the missing entries :) Dylan Cuthbert wrote: > They don't seem to work either - at least not for DirectX/Input 8 stuff. > > - > Q-Games, Dylan Cut

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Dylan Cuthbert
ROTECTED]> Sent: Wednesday, February 06, 2002 8:45 PM Subject: Re: DirectX8/DirectInput + cygwin > What do you mean they dont work ? Maybe there are missing features ? Of > course if this is the case you can contribute the missing entries :) > > Dylan Cuthbert wrote: > > &g

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Christopher Faylor
On Wed, Feb 06, 2002 at 12:11:58PM +0100, Pavel Tsekov wrote: >Dylan Cuthbert wrote: >>I am linking directly with the .lib files supplied by Microsoft, and >>all the Directx8 GUID references seem to link fine so does anybody have >>any idea what the problem might be? > >Why ? Link against those i

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Pavel Tsekov
Christopher Faylor wrote: > On Wed, Feb 06, 2002 at 12:11:58PM +0100, Pavel Tsekov wrote: > >>Dylan Cuthbert wrote: >> >>>I am linking directly with the .lib files supplied by Microsoft, and >>>all the Directx8 GUID references seem to link fine so does anybody have >>>any idea what the problem

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Christopher Faylor
On Wed, Feb 06, 2002 at 07:10:49PM +0100, Pavel Tsekov wrote: >Christopher Faylor wrote: >>On Wed, Feb 06, 2002 at 12:11:58PM +0100, Pavel Tsekov wrote: >>>Dylan Cuthbert wrote: I am linking directly with the .lib files supplied by Microsoft, and all the Directx8 GUID references seem to li

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Barubary
ry 06, 2002 10:18 AM Subject: Re: DirectX8/DirectInput + cygwin > On Wed, Feb 06, 2002 at 07:10:49PM +0100, Pavel Tsekov wrote: > >Christopher Faylor wrote: > >>On Wed, Feb 06, 2002 at 12:11:58PM +0100, Pavel Tsekov wrote: > >>>Dylan Cuthbert wrote: > >>

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Christopher Faylor
e - >From: "Christopher Faylor" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, February 06, 2002 10:18 AM >Subject: Re: DirectX8/DirectInput + cygwin > > >>On Wed, Feb 06, 2002 at 07:10:49PM +0100, Pavel Tsekov wrote: >>>C

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Barubary
> Aren't virtual tables a feature of "C++"? > > cgf I'm talking about the specific implementation of the virtual table - the layout of the function pointers relative to the "this" pointer. The location and format of the vtable relative to the "this" pointer in Visual C++ is patented by Microsoft

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Christopher Faylor
On Wed, Feb 06, 2002 at 02:24:57PM -0800, Barubary wrote: >> Aren't virtual tables a feature of "C++"? > >I'm talking about the specific implementation of the virtual table - the >layout of the function pointers relative to the "this" pointer. The >location and format of the vtable relative to th

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread andy younger
Peter Puck has already made bindings for Direct X 8. The site appears to be down at the moment, but if you google for dx8 "Peter Puck" you can probably find them, I believe these are MingW bindings, but they work fine with cygwin. Contrary to popular belief you can use the COM/C++ bindings. G

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Dylan Cuthbert
Q-Games, Dylan Cuthbert. http://www.q-games.com - Original Message - From: "Christopher Faylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 07, 2002 3:18 AM Subject: Re: DirectX8/DirectInput + cygwin > On Wed, Feb 06,

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Dylan Cuthbert
--- Original Message - From: "andy younger" <[EMAIL PROTECTED]> To: "Barubary" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 07, 2002 9:30 AM Subject: Re: DirectX8/DirectInput + cygwin > Peter Puck has already made bindings for Di

Re: DirectX8/DirectInput + cygwin

2002-02-06 Thread Robert Collins
On Thu, 2002-02-07 at 07:32, Christopher Faylor wrote: > On Wed, Feb 06, 2002 at 12:20:23PM -0800, Barubary wrote: > >What about the more important problem that Microsoft's patented virtual > >table system, which COM uses, isn't supported by GCC? > > Aren't virtual tables a feature of "C++"? Yes

Re[2]: DirectX8/DirectInput + cygwin

2002-02-06 Thread Wade Brainerd
TED]> B> Sent: Wednesday, February 06, 2002 10:18 AM B> Subject: Re: DirectX8/DirectInput + cygwin >> On Wed, Feb 06, 2002 at 07:10:49PM +0100, Pavel Tsekov wrote: >> >Christopher Faylor wrote: >> >>On Wed, Feb 06, 2002 at 12:11:58PM +0100, Pavel Tsekov wrote:

Re[2]: DirectX8/DirectInput + cygwin

2002-02-06 Thread Wade Brainerd
"Dylan Cuthbert" <[EMAIL PROTECTED]> B> To: "Cygwin@Cygwin. Com" <[EMAIL PROTECTED]> B> Sent: Wednesday, February 06, 2002 2:22 AM B> Subject: DirectX8/DirectInput + cygwin >> When compiling a DirectInput8 function such as DirectInput8Create() I ge

Re: MS C++ Patent (WAS: DirectX8/DirectInput + cygwin)

2002-02-06 Thread Jon Foster
Hi, > I'm talking about the specific implementation of the virtual table - the > layout of the function pointers relative to the "this" pointer. The > location and format of the vtable relative to the "this" pointer in Visual > C++ is patented by Microsoft. I wish I knew the patent number... I