<?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[OpenURL - Manchmal ja - Manchmal nein]]></title><description><![CDATA[<p>Habe folgendes:</p>
<p>CHttpFile* f = NULL;<br />
CInternetSession session;</p>
<p>session.SetOption(INTERNET_OPTION_CONNECT_TIMEOUT, 2000);<br />
session.SetOption(INTERNET_OPTION_CONNECT_RETRIES, 1);</p>
<p>CString gesamt;<br />
f = (CHttpFile*) session.OpenURL(url, 1, INTERNET_FLAG_TRANSFER_ASCII | INTERNET_FLAG_RELOAD);</p>
<p>CString tmp;</p>
<p>while(f-&gt;ReadString(tmp))<br />
{<br />
gesamt+=tmp;<br />
}<br />
f-&gt;Close();<br />
delete f;</p>
<p>Leider klappt es nur manchmal ! Und obwohl es immer die selbe url ist weiß ich einfach keine logischen grund wieso es nicht immer auf anhieb klappt... und wenn es nicht klappt bleibt das Programm hängen!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/6517/openurl-manchmal-ja-manchmal-nein</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 11:45:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/6517.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Jul 2003 15:50:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenURL - Manchmal ja - Manchmal nein on Tue, 08 Jul 2003 15:50:00 GMT]]></title><description><![CDATA[<p>Habe folgendes:</p>
<p>CHttpFile* f = NULL;<br />
CInternetSession session;</p>
<p>session.SetOption(INTERNET_OPTION_CONNECT_TIMEOUT, 2000);<br />
session.SetOption(INTERNET_OPTION_CONNECT_RETRIES, 1);</p>
<p>CString gesamt;<br />
f = (CHttpFile*) session.OpenURL(url, 1, INTERNET_FLAG_TRANSFER_ASCII | INTERNET_FLAG_RELOAD);</p>
<p>CString tmp;</p>
<p>while(f-&gt;ReadString(tmp))<br />
{<br />
gesamt+=tmp;<br />
}<br />
f-&gt;Close();<br />
delete f;</p>
<p>Leider klappt es nur manchmal ! Und obwohl es immer die selbe url ist weiß ich einfach keine logischen grund wieso es nicht immer auf anhieb klappt... und wenn es nicht klappt bleibt das Programm hängen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/31674</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/31674</guid><dc:creator><![CDATA[Razy]]></dc:creator><pubDate>Tue, 08 Jul 2003 15:50:00 GMT</pubDate></item><item><title><![CDATA[Reply to OpenURL - Manchmal ja - Manchmal nein on Wed, 09 Jul 2003 04:42:00 GMT]]></title><description><![CDATA[<p>Hallo.</p>
<p>Um wenigstens das Abstürzen bzufangen, könntest du deinen Source in einen try-catch-Block verlagern.<br />
Warum der Code nur manchmal funzt, weiß ich leider auch nicht. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>Bye</p>
]]></description><link>https://www.c-plusplus.net/forum/post/31675</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/31675</guid><dc:creator><![CDATA[Sanji]]></dc:creator><pubDate>Wed, 09 Jul 2003 04:42:00 GMT</pubDate></item><item><title><![CDATA[Reply to OpenURL - Manchmal ja - Manchmal nein on Wed, 09 Jul 2003 06:21:00 GMT]]></title><description><![CDATA[<blockquote>
<p>f = (CHttpFile*) session.OpenURL(url, 1, INTERNET_FLAG_TRANSFER_ASCII | INTERNET_FLAG_RELOAD);</p>
</blockquote>
<p>Darf man denn ein CStdioFile* einfach in ein CHttpFile* casten?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/31676</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/31676</guid><dc:creator><![CDATA[RenéG]]></dc:creator><pubDate>Wed, 09 Jul 2003 06:21:00 GMT</pubDate></item></channel></rss>