Re: extern variable question

2004-09-16 Thread Ove Kaaven
tor, 16.09.2004 kl. 01.47 skrev Francois Gouget: > On Tue, 14 Sep 2004, Robert Reif wrote: > [...] > > OK. Here is the beginnings of a joystick test. I want to use > > c_dfDIJoystick2 which is defined as extern in dinput.h and exists in > > dinput.dll.so but is not exported. It's also not export

Re: extern variable question

2004-09-15 Thread Filip Navara
Francois Gouget wrote: On Tue, 14 Sep 2004, Robert Reif wrote: [...] OK. Here is the beginnings of a joystick test. I want to use c_dfDIJoystick2 which is defined as extern in dinput.h and exists in dinput.dll.so but is not exported. It's also not exported in windows dinput.dll but it is in d

Re: extern variable question

2004-09-15 Thread Robert Reif
Francois Gouget wrote: On Tue, 14 Sep 2004, Robert Reif wrote: [...] OK. Here is the beginnings of a joystick test. I want to use c_dfDIJoystick2 which is defined as extern in dinput.h and exists in dinput.dll.so but is not exported. It's also not exported in windows dinput.dll but it is in d

Re: extern variable question

2004-09-15 Thread Francois Gouget
On Tue, 14 Sep 2004, Robert Reif wrote: [...] > OK. Here is the beginnings of a joystick test. I want to use > c_dfDIJoystick2 which is defined as extern in dinput.h and exists in > dinput.dll.so but is not exported. It's also not exported in windows > dinput.dll but it is in dinput.lib. Are yo

Re: extern variable question

2004-09-14 Thread Alexandre Julliard
Robert Reif <[EMAIL PROTECTED]> writes: > OK. Here is the beginnings of a joystick test. I want to use > c_dfDIJoystick2 > which is defined as extern in dinput.h and exists in dinput.dll.so > but is not > exported. It's also not exported in windows dinput.dll but it is in > dinput.lib. This t

Re: extern variable question

2004-09-14 Thread Robert Reif
Alexandre Julliard wrote: This is not possible, Winelib doesn't use .a files as import libraries, so even if you somehow generate that .a library it wouldn't do what you expect. OK. Here is the beginnings of a joystick test. I want to use c_dfDIJoystick2 which is defined as extern in dinput

Re: extern variable question

2004-09-14 Thread Alexandre Julliard
Robert Reif <[EMAIL PROTECTED]> writes: > I need to generate a dinput.a to access the variables just like > dinput.lib on > windows. The problem is how do you generate a library and dll from the > same source code in the same directory? The Makefiles only have a > single target (.a or .so). Thi

Re: extern variable question

2004-09-14 Thread Robert Reif
Francois Gouget wrote: On Tue, 14 Sep 2004, Robert Reif wrote: [...] extern variable: extern const DIDATAFORMAT c_dfDIJoystick; [...] It looks like it was added about ten days ago: http://www.winehq.org/hypermail/wine-patches/2004/08/0551.html What date is your wine source tree? - Da

Re: extern variable question

2004-09-14 Thread Francois Gouget
On Tue, 14 Sep 2004, Robert Reif wrote: [...] > >> extern variable: > >> > >> extern const DIDATAFORMAT c_dfDIJoystick; [...] > > It looks like it was added about ten days ago: > > http://www.winehq.org/hypermail/wine-patches/2004/08/0551.html > > What date is your wine source tree? > > - Dan > > >

Re: extern variable question

2004-09-14 Thread Robert Reif
Dan Kegel wrote: [EMAIL PROTECTED] wrote: I'm trying to write a Direct Input regression test and I ran into a problem I can't resolve (and the linker too). dinput.h defines an extern variable: extern const DIDATAFORMAT c_dfDIJoystick; I can't find this variable in dinput.dll ... It looks like it

Re: extern variable question

2004-09-13 Thread Dan Kegel
[EMAIL PROTECTED] wrote: I'm trying to write a Direct Input regression test and I ran into a problem I can't resolve (and the linker too). dinput.h defines an extern variable: extern const DIDATAFORMAT c_dfDIJoystick; I can't find this variable in dinput.dll ... It looks like it was added about te

extern variable question

2004-09-13 Thread Robert Reif
I'm trying to write a Direct Input regression test and I ran into a problem I can't resolve (and the linker too). dinput.h defines an extern variable: extern const DIDATAFORMAT c_dfDIJoystick; I can't find this variable in dinput.dll but it is in dinput.lib on windows. It looks like I need to gen