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 not, why can't you do step-by-step debugging?
Open and download desired links with internet download manager. Is located in C: Program Files (x86) Internet Download Manager IDMan.exe alinda IDMan.exe is a installer of internet download manager that you can find it on your windows program file on C/ Program Files / Internet Download Manager / IDMan.exe after you instal Internet Download. Ferguson ariva 150 combo firmware patch 2017.