Software components for data protection, secure storage and transfer
// Get IE Browser URL
::CoInitialize(NULL); //We need COM
if (spSHWinds.CreateInstance(__uuidof(SHDocVw::ShellWindows)) == S_OK)
long nCount = spSHWinds->GetCount();
for (long i = 0; i < nCount; i++)
_variant_t va(i, VT_I4);
spDisp = spSHWinds->Item(va);
if (spDisp == NULL)
SHDocVw::IWebBrowser2Ptr spBrowser(spDisp); <-- hang in this line
if (spBrowser != NULL)
IWebBrowser2 *pBrowser=(IWebBrowser2 *)spBrowser.GetInterfacePtr();
/* business code in here, but not reached */
Copyright (c) 2016, /n software, Inc.
As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.