I am using ShellExecute in a program and am having some serious speed problems. The program launches the default internet browser and goes to a website. The only problem is that it is taking an inordinate amount of time to do this. After the first call to open the website, the loading time isn't as severe. But it literally takes minutes to launch the browser on my 333mhz box using IE the first time.
P.S. I am opening the website by using the web site address as the file name. However, I have also tried opening IE specifically with the parameter being set as the website's address.



LinkBack URL
About LinkBacks



All kidding aside ShellExecute() is pretty fast. You could use CreateProcess() but I don't think that will be a quantum leap in speed. I think this is more do to the slow nature of IE loading rather than the speed that a process is spawned.