Original Post
Hi, I''m using MSVC++ 6 and when I try and compile demo 9.1 from my tricks of the windows game programming gurus book, I get the error
error C2065: ''DirectInputCreate'' : undeclared identifier
I have the dinput.h and dinput.lib included in my project, as well as #define INITGUID at the start of my program, and dxguid.lib, winmm.lib, ddraw.lib, ddraw.h all included in my project as well.
When I type in DirectInputCreate( myself it brings up the functions protocol above so I know that the function is being recognized.
Anybody have any ideas why I''m getting that error.
- Dan
He who laughs, lasts