5 registered members (AndrewAMD, ozgur, Ayumi, 2 invisible),
690
guests, and 10
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
USB support for Gamestudio
#231975
10/18/08 14:50
10/18/08 14:50
|
Joined: Jun 2006
Posts: 6
virror
OP
Newbie
|
OP
Newbie
Joined: Jun 2006
Posts: 6
|
Hello, i wonder if its possible to use the D2XX USB driver from www.ftdichip.com in 3D Gamestudio to get USB support? Its only a dll file and a .h file that contains functions for USB connectivity. Is it possible to use any dll file in 3D Gamestudio?
|
|
|
Re: USB support for Gamestudio
[Re: NITRO777]
#231994
10/18/08 17:24
10/18/08 17:24
|
Joined: Jun 2006
Posts: 6
virror
OP
Newbie
|
OP
Newbie
Joined: Jun 2006
Posts: 6
|
First, this dll works fine with for example Borland C++ Builder without any wrapper, does that make it more likely to work with 3dGS?
Second, im a hardware engeineer, and i would like to build some cool input unit to 3dGS, like a VR glove or something.
Last edited by virror; 10/18/08 18:13.
|
|
|
Re: USB support for Gamestudio
[Re: virror]
#232000
10/18/08 18:28
10/18/08 18:28
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
First, this dll works fine with for example Borland C++ Builder without any wrapper, does that make it more likely to work with 3dGS?
Second, im a hardware engeineer, and i would like to build some cool input unit to 3dGS, like a VR glove or something. this sounds interesting. Running this dll inside 3dgs should be possible. If it is c dll it most likely to run directly, but if it is not you'll need a wrapper. Doesn't sound hard....
3333333333
|
|
|
Re: USB support for Gamestudio
[Re: Quad]
#232007
10/18/08 18:57
10/18/08 18:57
|
Joined: Mar 2003
Posts: 3,010 analysis paralysis
NITRO777
Expert
|
Expert
Joined: Mar 2003
Posts: 3,010
analysis paralysis
|
If it is c dll it most likely to run directly, but if it is not you'll need a wrapper. Doesn't sound hard.... Why is that? Is it because gstudio is programmed in c therefore it is the native language?
|
|
|
Re: USB support for Gamestudio
[Re: NITRO777]
#232017
10/18/08 20:11
10/18/08 20:11
|
Joined: Jun 2006
Posts: 6
virror
OP
Newbie
|
OP
Newbie
Joined: Jun 2006
Posts: 6
|
Sounds promesing, i will post the .h file and the dll below if anyone want to look at it and tell me if its possible. I have some strange include problem right no so i cant test it myself. ftd2xx.h ftd2xx.dll
Last edited by virror; 10/18/08 20:13.
|
|
|
Re: USB support for Gamestudio
[Re: virror]
#232033
10/18/08 23:03
10/18/08 23:03
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
this will need a wrapper i guess, looks like someone with experience in plugins can easily write a wrapper.
3333333333
|
|
|
|