I wrote a C++ program that could sendKey. the code is as Follows;
s.SendKeys(_T("{Enter}"));s.SendKeys(_T("{Enter}"));
this piece if code is inside a function.
Now, i need to access this method from a C code. When i added the includes, i get alot of errors. Some says, that you can't access C++ code from a C program. is this statement correct?
If so, Could someone tell me or give me a sample code to have key press in C. like what i did in C++.
I am new to C, google didn't help me, please help me solve this