Click here to Skip to main content
15,917,645 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using the following code to open a website from my c++ app. It's slower than molasses n winter. Any other way to do this with some speed?
Thank you.

C++
ShellExecute(NULL, "open", "http://www.yahoo.com/",NULL, NULL, SW_SHOWNORMAL);
Posted

Shouldn't be any slower than actually running IE and typing the URL into the address bar. Essentially, all you are doing is what would happen if a user clicked on a link in an application like Word (as opposed to clicking on a link on a web page, in that case you are already running IE).
 
Share this answer
 
With regards to how Windows performs application caching, you would get a faster response the second time you open a page. Having the default browser already loaded/opened will definitely help if load time is an issue.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900