I'm trying to give keyboard input to a program that's using directinput.
To do this I tried using SendInput, but I figured this doesn't really work.
MSDN suggests adding KEYEVENTF_SCANCODE to the dwFlags but I get an undeclared identifier message when I try to compile:
error C2065: 'KEYEVENTF_SCANCODE' : undeclared identifier
Does anyone know what to do? Am I missing an include file or something?



LinkBack URL
About LinkBacks


