I made this project by using FindWindow,FindWindowEx Methods
Main program send a text message to EditBox of target program and pushing button of it
and text message is in MessageBox of target program.
hope it helps to anybody
Force
Sending WM_CHAR to simulate user input is an bad technique and may cause strange behaviour of the target Application. Use SendInput+SetFocus instead.
Hi Force,
qWord is correct, do not use WM_CHAR unless you also use AttachThreadInput to synchronize the two threads input queues otherwise the results are unpredictable. You might want to look into the WM_COPYDATA (http://msdn.microsoft.com/en-us/library/windows/desktop/ms649011%28v=vs.85%29.aspx) message for passing information between programs.
You should explore ways to accomplish the same task without having to rely on Windows marshalling, as UIPI becomes more restrictive with each successive version of Windows you may find that your programs will fail.
Thanks qWord n Edgar
yeah i felt something was wrong in it but I couldnt find it
Force
I got a new idea
is it possible to login in this forum programatically?
sending username , password and click login button like my project
thanks
Force
probably, if you are an expert with PHP :P
You don't need PHP. Just plain ole sockets or WinInet.
oh - i thought all that was PHP stuff :P