Is there any method you can use or someting if you want not just to execute a program, but to maybe write something in one of the programs edit boxes?
Is there any method you can use or someting if you want not just to execute a program, but to maybe write something in one of the programs edit boxes?
Well english isn't my first language, (it's instead a useless language called danish which only 5 milion people speak!!) so if you think my grammar SUCKS (it does by the way) than you're more then welcome to correct me.
Hell I might even learn something
I've tried this and was unnsuccessful at it. Instead of using WinExec() I'm pretty sure you'd have to use -
CreateProcess()
//The create process executes another application and returns a bunch of handles to the process and thread but it doesn't return any HWND's so you'd have to find a way - probably very involved- to get an HWND from the Windows of the app.
Your handles are stored in the STRUCTS.Code:STARTUP_INFO *si; //These are the STRUCTS that are filled by the PROCESS_INFO *pi; //CreateProcess() fxn CreateProcess(blahh....,...)
My Avatar says: "Stay in School"
Rocco is the Boy!
"SHUT YOUR LIPS..."