<?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[Website Src -&amp;gt; CString]]></title><description><![CDATA[<p>Morgen</p>
<p>Wie kann man am schnellsten den gesamten Source Code einer Webseite herunterladen und in einen CString speichern?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/168803/website-src-gt-cstring</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 02:49:41 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/168803.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Dec 2006 05:37:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Website Src -&amp;gt; CString on Thu, 28 Dec 2006 05:37:49 GMT]]></title><description><![CDATA[<p>Morgen</p>
<p>Wie kann man am schnellsten den gesamten Source Code einer Webseite herunterladen und in einen CString speichern?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1198846</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1198846</guid><dc:creator><![CDATA[90ur5]]></dc:creator><pubDate>Thu, 28 Dec 2006 05:37:49 GMT</pubDate></item><item><title><![CDATA[Reply to Website Src -&amp;gt; CString on Thu, 28 Dec 2006 09:41:39 GMT]]></title><description><![CDATA[<p>indem du die webseite ausliest</p>
<pre><code>char szUrl[1024]=&quot;http://www.c-plusplus.net/forum/viewtopic-var-t-is-168803-and-sid-is-739b8423e79bd663361435739079f23a.html&quot;;
CInternetSession*  m_pInetSession;// Zum neuen URL navigieren
CString strHtmlDoc;//Speicher der html Seite

char character = NULL;         // char zum Einlesen der einzelnen Zeichen aus dem HTML-Code    
m_pInetSession = new CInternetSession(NULL, 1, PRE_CONFIG_INTERNET_ACCESS);      // Internetsession initialisieren 

CStdioFile* pStdioFile = m_pInetSession-&gt;OpenURL(szUrl, 1, INTERNET_FLAG_TRANSFER_BINARY);   // Verbindung zur Website herstellen 

while (pStdioFile-&gt;Read(&amp;character, 1))         // solange ein zeichen lesen bis HTML-Code zu Ende ist 
{ 
      strHtmlDoc += character;                  // Zeichen dem CString hinzufügen 
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1198868</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1198868</guid><dc:creator><![CDATA[LowFly]]></dc:creator><pubDate>Thu, 28 Dec 2006 09:41:39 GMT</pubDate></item><item><title><![CDATA[Reply to Website Src -&amp;gt; CString on Thu, 28 Dec 2006 10:02:09 GMT]]></title><description><![CDATA[<p>Funktioniert! Danke sehr.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1198879</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1198879</guid><dc:creator><![CDATA[90ur5]]></dc:creator><pubDate>Thu, 28 Dec 2006 10:02:09 GMT</pubDate></item></channel></rss>