Advertisement

NeHe DirectInput tutorial

Started by April 04, 2002 06:31 AM
4 comments, last by dfanuk 22 years, 10 months ago
sorry I didn''t know whether to put this in the DirectX or OpenGL tutorial as it''s a bit of both! I have attempted to alter the nehe directinput tutorial so that it uses DirectX version 8 rather than 7. My attempts at this failed due to lack of understanding of directx I think. So instead I decided to download the relevant include and library files for DirectInput7 and put these in my Visual C++ directory and linked them. However, I am still getting these errors upon compilation: syntax error : missing '';'' before identifier ''g_DI'' ''LPDIRECTINPUT7'' : missing storage-class or type specifiers I am baffled and don''t know what to do. Any help would be appreciated! Thanks regards Gareth <><
make sure you link with dxguid.lib

"I pity the fool, thug, or soul who tries to take over the world, then goes home crying to his momma."
- Mr. T
Advertisement
yeh I have and sadly I am still getting the same errors

Gareth
Make sure your DXSDK include & lib dirs are before VS''s ones in the search path. You''re most likely including an old header.
---visit #directxdev on afternet <- not just for directx, despite the name
Already solved it. Moving to Linux and it RAWKS.
yep thanks for that, it was to do with the order of the libraries, etc

thanks a lot

Gareth
<><

This topic is closed to new replies.

Advertisement