ok this is odd, im going off of nehe’s tutorial #23 and i wrote it out exactly how it was on the page (didnt copy and paste because nothing soaks into your brain that way) im getting the error for the mouse direct input, heres the lines of code im getting the error for,
#include <dinput.h>
LPDIRECTINPUT7 g_DI;
LPDIRECTINPUTDEVICE7 g_KDIDev;
and here are the errors(same errors for the above 2 lines)
error C2146: syntax error : missing ‘;’ before identifier ‘g_DI’
error C2501: ‘LPDIRECTINPUT7’ : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found
im kinda clueless as how to fix this because it is exactly like how he had it, but he got it compiled seome how…
scratches head
and if it matters, im using MSVC++ 6.0 pro