<?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[URL Prüfen]]></title><description><![CDATA[<p>wie kann man überprüfen ob eine URL vorhanden ist. z.B. ein Bild:<br />
<a href="http://www.myscreens.com/cplusplus.jpg" rel="nofollow">http://www.myscreens.com/cplusplus.jpg</a></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/59361/url-prüfen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 03 Jun 2026 01:14:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/59361.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Dec 2003 08:30:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to URL Prüfen on Mon, 22 Dec 2003 08:30:34 GMT]]></title><description><![CDATA[<p>wie kann man überprüfen ob eine URL vorhanden ist. z.B. ein Bild:<br />
<a href="http://www.myscreens.com/cplusplus.jpg" rel="nofollow">http://www.myscreens.com/cplusplus.jpg</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/421247</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/421247</guid><dc:creator><![CDATA[.]]></dc:creator><pubDate>Mon, 22 Dec 2003 08:30:34 GMT</pubDate></item><item><title><![CDATA[Reply to URL Prüfen on Wed, 24 Dec 2003 18:31:19 GMT]]></title><description><![CDATA[<p>*aktuell mach*</p>
<p>Frohe Weihnachten <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/422713</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/422713</guid><dc:creator><![CDATA[.]]></dc:creator><pubDate>Wed, 24 Dec 2003 18:31:19 GMT</pubDate></item><item><title><![CDATA[Reply to URL Prüfen on Thu, 25 Dec 2003 21:57:34 GMT]]></title><description><![CDATA[<p>Hab das jetzt nur mal schnell hier hergekritzelt, keine Ahnung ob da Fehler drinnen sind, sollte aber in etwa so funktionieren.</p>
<pre><code class="language-cpp">CInternetFile* file = NULL;
 try
{
    file = (CInternetFile*) session.OpenURL(/*hier die URL hinschreiben*/);
}

catch
{ 
    file = NULL;
    pEx-&gt;Delete();
}

if(file)    // Falls Verbindung hergestellt wurde
{
    ....
}

else   // Falls keine Verbindung hergestellt wurde
{
    ....
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/423201</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/423201</guid><dc:creator><![CDATA[CrazyOwl]]></dc:creator><pubDate>Thu, 25 Dec 2003 21:57:34 GMT</pubDate></item><item><title><![CDATA[Reply to URL Prüfen on Thu, 25 Dec 2003 22:48:56 GMT]]></title><description><![CDATA[<p>Danke, schaut ganz gut aus.<br />
nur, was ist session und pEx?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/423224</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/423224</guid><dc:creator><![CDATA[.]]></dc:creator><pubDate>Thu, 25 Dec 2003 22:48:56 GMT</pubDate></item><item><title><![CDATA[Reply to URL Prüfen on Thu, 25 Dec 2003 23:06:57 GMT]]></title><description><![CDATA[<p>Sorry, hab da wohl ein paar Teile vergessen, also nochmal:</p>
<pre><code class="language-cpp">CInternetSession session;

CInternetFile* file = NULL; 
 try 
{ 
    file = (CInternetFile*) session.OpenURL(/*hier die URL hinschreiben*/); 
} 

catch(CInternetException* pEx)
{  
    file = NULL; 
    pEx-&gt;Delete(); 
} 

if(file)    // Falls Verbindung hergestellt wurde 
{ 
    .... 
} 

else   // Falls keine Verbindung hergestellt wurde 
{ 
    .... 
}
</code></pre>
<p>So ich hoffe, dass jetzt alles da ist. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/423229</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/423229</guid><dc:creator><![CDATA[CrazyOwl]]></dc:creator><pubDate>Thu, 25 Dec 2003 23:06:57 GMT</pubDate></item></channel></rss>