i'm trying to simulate key presses and i did this:
it wrote lowercase 'g' into notepad, not the uppercase 'G' that i've passed into the function. and when i pass the lowercase:Code:keybd_event('G', NULL, KEYEVENTF_EXTENDEDKEY | 0, 0 );
it writes '7', not 'g'?Code:keybd_event('g', NULL, KEYEVENTF_EXTENDEDKEY | 0, 0 );
So why is this happening? how can i correctly simulate key strokes?
Thanks for any help.