Hi, I can’t seem to compile this. As I am a newbe to opengl and C++ I don’t really understand the error message but I believe there is a problem with my dinput.h file.
Here is what I tried to compile with VC++ 6:
http://www.christov.com/tmp/lesson23.cpp
http://www.christov.com/tmp/lesson23.dsp
http://www.christov.com/tmp/lesson23.dsw
And here is the error mesage:
--------------------Configuration: lesson23 - Win32 Debug--------------------
Compiling…
Lesson23.cpp
e: mp\lesson23\lesson23.cpp(16) : error C2146: syntax error : missing ‘;’ before identifier ‘g_DI’
e: mp\lesson23\lesson23.cpp(16) : error C2501: ‘LPDIRECTINPUT7’ : missing storage-class or type specifiers
e: mp\lesson23\lesson23.cpp(16) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
lesson23.exe - 3 error(s), 0 warning(s)
Is it possible to update the dinput.h file? If so, where from?
Thanks for your help