<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[IWebBrowser2]]></title><description><![CDATA[<p>Hallo,</p>
<p>aus diesem Forum habe ich folgendes Beispiel:</p>
<pre><code>IWebBrowser2* pBrowser = NULL; 
  IUnknown*     pUnk     = NULL; 
  VARIANT       varEmpty; 
  BSTR          bstrURL; 
    CoInitialize(NULL); 
    if(SUCCEEDED(GetActiveObject(CLSID_InternetExplorer, NULL, &amp;pUnk))) 
    { 
        if(SUCCEEDED(pUnk-&gt;QueryInterface(IID_IWebBrowser2, (void**)&amp;pBrowser))) 
        { 
            bstrURL = SysAllocString(L&quot;http://www.c-plusplus.net/&quot;); 
            VariantInit(&amp;varEmpty); 
            pBrowser-&gt;Navigate(bstrURL, &amp;varEmpty, &amp;varEmpty, &amp;varEmpty, &amp;varEmpty); 
            VariantClear(&amp;varEmpty); 
            SysFreeString(bstrURL); 
            pBrowser-&gt;Release(); 
        } 
        pUnk-&gt;Release(); 
    } 
    else 
    { 
        //fehler 
    } 
    CoUninitialize();
</code></pre>
<p>Leider ist pUnk-&gt;QueryInterface nie erfolgreich.<br />
Muss ich irgendwas beachten?</p>
<p>Wie kann ich ein Browserfenster erzeugen und steuern?</p>
<p>Gruß, R.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/98942/iwebbrowser2</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 05:14:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/98942.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Jan 2005 10:53:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IWebBrowser2 on Mon, 24 Jan 2005 10:53:02 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>aus diesem Forum habe ich folgendes Beispiel:</p>
<pre><code>IWebBrowser2* pBrowser = NULL; 
  IUnknown*     pUnk     = NULL; 
  VARIANT       varEmpty; 
  BSTR          bstrURL; 
    CoInitialize(NULL); 
    if(SUCCEEDED(GetActiveObject(CLSID_InternetExplorer, NULL, &amp;pUnk))) 
    { 
        if(SUCCEEDED(pUnk-&gt;QueryInterface(IID_IWebBrowser2, (void**)&amp;pBrowser))) 
        { 
            bstrURL = SysAllocString(L&quot;http://www.c-plusplus.net/&quot;); 
            VariantInit(&amp;varEmpty); 
            pBrowser-&gt;Navigate(bstrURL, &amp;varEmpty, &amp;varEmpty, &amp;varEmpty, &amp;varEmpty); 
            VariantClear(&amp;varEmpty); 
            SysFreeString(bstrURL); 
            pBrowser-&gt;Release(); 
        } 
        pUnk-&gt;Release(); 
    } 
    else 
    { 
        //fehler 
    } 
    CoUninitialize();
</code></pre>
<p>Leider ist pUnk-&gt;QueryInterface nie erfolgreich.<br />
Muss ich irgendwas beachten?</p>
<p>Wie kann ich ein Browserfenster erzeugen und steuern?</p>
<p>Gruß, R.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/704417</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/704417</guid><dc:creator><![CDATA[Ryson]]></dc:creator><pubDate>Mon, 24 Jan 2005 10:53:02 GMT</pubDate></item><item><title><![CDATA[Reply to IWebBrowser2 on Mon, 24 Jan 2005 14:37:15 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>leider ist es nicht so einfach, schaue dir mal folgende seite an und desen Quellcode.<br />
<a href="http://www.codeguru.com/Cpp/I-N/ieprogram/article.php/c4379/" rel="nofollow">http://www.codeguru.com/Cpp/I-N/ieprogram/article.php/c4379/</a></p>
<p>ist in reines C geschrieben, kommt zum lernen vieleicht besser.</p>
<p>gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/704656</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/704656</guid><dc:creator><![CDATA[MichaM.]]></dc:creator><pubDate>Mon, 24 Jan 2005 14:37:15 GMT</pubDate></item><item><title><![CDATA[Reply to IWebBrowser2 on Tue, 25 Jan 2005 12:15:15 GMT]]></title><description><![CDATA[<p>Danke erstmal. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Ich schaue, was ich machen kann...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/705449</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/705449</guid><dc:creator><![CDATA[Ryson]]></dc:creator><pubDate>Tue, 25 Jan 2005 12:15:15 GMT</pubDate></item></channel></rss>