I have an elevated desktop application that sometimes opens web pages in case of errors. The problem I encountered is related to Windows 8 when Chrome is installed as the default browser. It doesnโt open the page, the process works without the add-in perfectly ... Here's how I open the page:
ShellExecute( NULL, TEXT("open"),sPageURL,NULL, NULL, SW_SHOWNORMAL );
where sPageURL is the URL of the page.
I also tried to open the elevated CMD and open a webpage like google.com, like this:
start http://www.google.com
I got a "Class not registered" error.
What is the best alternative way to overcome this problem?
source share