Simulating keyboard under Directx apps

Hello,

I am getting a bit mad from this problem, please take a look. I have directx application and a lot of function: keybd_event, SendInput, PostMessage.

My point is to simulate keys under this directx application. My wish is to press and hold SHIFT, press and release A, again for B and for example again for C and realease SHIFT.

Everything works great via keybd_event or SendInput on computer with Visual Studio Installation. Now move to computer only with .Net framework without VS installation. Whoala, problem.. Directx App is ignoring all keyinputs from keybd_event or sendinput function. Well so i tried to use PostMessage but it's a bit difficult to hold shift, press keys and release shift.

I would like to resolve, why is not keybd_event or sendinput (it's same as i read on msdn page) working on computers without VS installation.

PLEASE, tell me anyone that you got and resolved that problem :) I browsed tens forums and nowhere is any working reply for this problem.

Thank you.
[2101 byte] By [Quirm] at [2007-12-24]