Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Dynamically obtain WebBrowser2 version

20 views
Skip to first unread message

DC Dweller

unread,
Nov 7, 2013, 4:22:20 PM11/7/13
to
Hi all,

Is there a way to determine the version of the browser control creatable via

hr = CoCreateInstance(CLSID_WebBrowser, NULL, CLSCTX_ALL,
IID_IUnknown, (void**)&ptrIUnknown);

I tested my code on a very old machine still running IE6 and the code hang, so I need to make sure at least IE7 or later is installed or return an error gracefully.

Thanks.

-- Dweller
0 new messages