It is unclear what you want to achieve, and why this way. Why can't you use instead?
Whatsoever the motive, and approach, I suggest you to do thorough checking for failure with each function call (starting from OpenProcess). Read the documentation on what a particular function returns on failure, or success. Always use GetLastError to determine the exact reason (or any other relevant function mentioned in MSDN). Are you running, or willing to run your program as a service?
If you got a Cannot find the filepop up, click Yes button to continue. On the opened dialogue box, locate the IDMan.exe file and click Open. IDMan.exe Path [ C: Program Files (x86) Internet Download Manager IDMan.exe] Once done, enter your first name, last name, in the available Enter FName and Enter LName fields and click OK. Sep 23, 2010 - C: Program Files (x86) Internet Download Manager IDMan.exe. C: Program Files (x86) Ashampoo Ashampoo Office 2010 smash.exe.
If not, why can't you do step-by-step debugging?
It is unclear what you want to achieve, and why this way. Why can't you use instead?
Whatsoever the motive, and approach, I suggest you to do thorough checking for failure with each function call (starting from OpenProcess). Read the documentation on what a particular function returns on failure, or success. Always use GetLastError to determine the exact reason (or any other relevant function mentioned in MSDN). Are you running, or willing to run your program as a service?
If you got a Cannot find the filepop up, click Yes button to continue. On the opened dialogue box, locate the IDMan.exe file and click Open. IDMan.exe Path [ C: Program Files (x86) Internet Download Manager IDMan.exe] Once done, enter your first name, last name, in the available Enter FName and Enter LName fields and click OK. Sep 23, 2010 - C: Program Files (x86) Internet Download Manager IDMan.exe. C: Program Files (x86) Ashampoo Ashampoo Office 2010 smash.exe.
If not, why can't you do step-by-step debugging?