NeHe DirectInput tutorial
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
"I pity the fool, thug, or soul who tries to take over the world, then goes home crying to his momma."
- Mr. T
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement