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
<><