Usage of IWebBrowser2Ptr

Kamal 1 Reputation point
2022-10-16T17:05:06.967+00:00

In VC++ I need to use IWebBrowser2Ptr to navigate to the default browser instead of always to IE. Since IE got discontinued already, Is there any way to use IWebBrowser2Ptr in such a fashion so that it can always navigate to default web browser.

Thank you !

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,554 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 81,941 Reputation points
    2022-10-16T17:37:16.72+00:00

    IWebBrowser2 is IE
    To navigate to the default browser, you can use ShellExecute