can i use shellexecute() method?
-
i have to execute a executable file which is downloaded from a given URL but when use createprocess() method then it execute successfully at 2000 OS but it does't execute on XP OS and now i am using shellexecute() method for executing this file but it executes successfully at both OS and now problem is that this correct way or not and please tell me what is the difference between those functions. Bankey Khandelwal Software Engineer
-
i have to execute a executable file which is downloaded from a given URL but when use createprocess() method then it execute successfully at 2000 OS but it does't execute on XP OS and now i am using shellexecute() method for executing this file but it executes successfully at both OS and now problem is that this correct way or not and please tell me what is the difference between those functions. Bankey Khandelwal Software Engineer
i don't know much CreateProcess(), but of course you can use
ShellExecute()
! i'd even say it's the easiest way to go to execute a file as if you were double clicking on it in the explorer... show us both lines of code (with createprocess and shellexecute) to see what you were doing wrong...