Due to server problems the website is temporarily offline! Visit http://www.smorgasbordet.com/pellesc/ to download Pelles C.
HRESULT __declspec(dllimport) WINAPI AtlAxGetControl(HWND hwnd, IUnknown** unk);
LIBRARY ATL.DLLEXPORTS"_AtlGetVersion@4""_AtlAxWinInit@0""_AtlAxGetControl@8"
DEFINE_GUID(IID_IWebBrowser2,0xd30c1661,0xcdaf,0x11d0,{0x8a,0x3e,0x00,0xc0,0x4f,0xc9,0xe2,0x6e});HRESULT __declspec(dllimport) WINAPI AtlAxGetControl(HWND h,IUnknown** pp);///skippedcase WM_CREATE: hr = AtlAxWinInit(); hBrowser = CreateWindowEx(WS_EX_STATICEDGE, "AtlAxWin", "https://yandex.ru", WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL , 0, 0, 0, 0, hWnd, (HMENU)IDC_BROWSER, GetModuleHandle(NULL), NULL); AtlAxGetControl(hBrowser, &unkn); unkn->lpVtbl->QueryInterface(unkn, &IID_IWebBrowser2, (void **)&pBrowser2); pBrowser2->lpVtbl->put_Silent(pBrowser2,TRUE);