i am trying to simulate keyboard and mouse events on windows xp, using c++/mfc.
i have included Windows.h in my code and compile/link with -mwindows.
when trying to use the structure INPUT or the function SendInput()
the compiler says that he doesnt know it.
when i check the MFC library, it says to include windows.h, but that it needs windows 98,windows NT service pack 3
but i only have windows xp service pack 2
(does service pack 3 exist for xp? i tried searching, no results)
is there another way to simulate these events?
or what do i need to do do use SendInput() on my windows?
thanks a lot!!!!!