<?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[Frage: Dateien von einem Server lokal speichern??]]></title><description><![CDATA[<p>Und noch eine frage <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>
<p>Wie kann ich in c++<br />
eine datei (z.b. <a href="http://eastbourne.ea.funpic.de/test.txt" rel="nofollow">http://eastbourne.ea.funpic.de/test.txt</a>) kopieren und lokal speichern (um sie auszulesen)</p>
<p>Danke für eure hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/135867/frage-dateien-von-einem-server-lokal-speichern</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 08:02:32 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/135867.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 05 Feb 2006 17:07:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 17:07:09 GMT]]></title><description><![CDATA[<p>Und noch eine frage <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>
<p>Wie kann ich in c++<br />
eine datei (z.b. <a href="http://eastbourne.ea.funpic.de/test.txt" rel="nofollow">http://eastbourne.ea.funpic.de/test.txt</a>) kopieren und lokal speichern (um sie auszulesen)</p>
<p>Danke für eure hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986658</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986658</guid><dc:creator><![CDATA[download123]]></dc:creator><pubDate>Sun, 05 Feb 2006 17:07:09 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 17:09:41 GMT]]></title><description><![CDATA[<p>Das geht nicht mit Standard C++.</p>
<p>Am Besten, du verrätst uns das Betriebsystem, auf dem das Prog laufen soll.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986661</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986661</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sun, 05 Feb 2006 17:09:41 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 17:11:54 GMT]]></title><description><![CDATA[<p>windows xp (also windows) :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986666</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986666</guid><dc:creator><![CDATA[download123]]></dc:creator><pubDate>Sun, 05 Feb 2006 17:11:54 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 17:15:43 GMT]]></title><description><![CDATA[<p>Dann stellt unter anderem die WinAPI Funktionen zum Herunterladen über http bereit. Steht in der MSDN im Kapitel WinInet erklärt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986672</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986672</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sun, 05 Feb 2006 17:15:43 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 17:56:05 GMT]]></title><description><![CDATA[<p>MSDN was ist das ?? *sorry*<br />
und könntest du mal ein beispiel posten?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986705</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986705</guid><dc:creator><![CDATA[download123]]></dc:creator><pubDate>Sun, 05 Feb 2006 17:56:05 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 18:04:22 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/986741</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986741</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sun, 05 Feb 2006 18:04:22 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 18:07:20 GMT]]></title><description><![CDATA[<p>Siehe: Enabling Internet Functionality<br />
<a href="http://msdn.microsoft.com/library/en-us/wininet/wininet/enabling_internet_functionality.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/wininet/wininet/enabling_internet_functionality.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/986749</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986749</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Sun, 05 Feb 2006 18:07:20 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 18:21:29 GMT]]></title><description><![CDATA[<p>ich finde mich in dem msdn nicht zurecht</p>
<p>könnte jemand mal einen beispielcode posten um die datei <a href="http://eastbourne.ea.funpic.de/test.txt" rel="nofollow">http://eastbourne.ea.funpic.de/test.txt</a> lokal zu speichern?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986778</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986778</guid><dc:creator><![CDATA[download123]]></dc:creator><pubDate>Sun, 05 Feb 2006 18:21:29 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 19:01:55 GMT]]></title><description><![CDATA[<p>Wieviel zahlst du?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986808</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986808</guid><dc:creator><![CDATA[scnr]]></dc:creator><pubDate>Sun, 05 Feb 2006 19:01:55 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 20:07:07 GMT]]></title><description><![CDATA[<p>Ich hab da mal was rausgekramt. Allerdings muss ich dich warnen!! Als ich das geschrieben war ich noch schlechter als jetzt! Der Code ist ein C - C++ Mischmasch und außerdem entstehen Memory Leaks (durch TerminateThread). Ich war zu faul das ganze neu zu schreiben, aber immmerhin funktioniert es. Ich glaube die Funktionweise sollte klar sein.</p>
<pre><code class="language-cpp">#include &lt;process.h&gt;
#include &lt;windows.h&gt;
#include &lt;wininet.h&gt;
#include &lt;iostream&gt;
#include &lt;fstream&gt;

struct UpdateDaten
{
    std::string Url;
    std::fstream TempDatei;
    bool Erfolgreich;
    bool Fertig;                                                                 /* Am Anfang false. Wird true sobald die Datei geöffnet wurde. */
    int BytesEmpfangen;
    int DateiGroesse;
};
const char *UPDATE_FILENAME = &quot;test.txt&quot;;
class Download123
{
    private:
        UpdateDaten Daten;
        bool Geschlossen;                                                        /* Am Anfang true */
        HANDLE GetThread;                                                        /* Handle auf den GetSourceCode-Thread */
        static void GetSourceCode(void *was)
        {
            UpdateDaten *pDaten = (UpdateDaten*)was;
            pDaten-&gt;Erfolgreich = true;
            HINTERNET hInternet;                                                 /* Handle des WinInet-Browsers */
            HINTERNET hWebsite;	                                                 /* Handle auf die geöffnete Website */
            hInternet=InternetOpen(&quot;JNTETRI Update&quot;,
                                   INTERNET_OPEN_TYPE_PRECONFIG,NULL,NULL,0);    /* WinInet-Browser definieren */
            if (!hInternet)
            {
                pDaten-&gt;Erfolgreich = false;
                pDaten-&gt;Fertig = true;
                return;
            }
            hWebsite=InternetOpenUrl(hInternet,pDaten-&gt;Url.c_str(),NULL,0,
                                     INTERNET_FLAG_RELOAD,0);                    /* URL öffnen */
            if (!hWebsite)
            {
                InternetCloseHandle(hInternet);
                pDaten-&gt;Erfolgreich = false;
                pDaten-&gt;Fertig = true;
                return;
            }
            pDaten-&gt;DateiGroesse = 0;
            {
                char DateiGroesseTemp[10];
                DWORD HttpQueryInfoBytes = sizeof(DateiGroesseTemp);
                if(!HttpQueryInfo(hWebsite,HTTP_QUERY_CONTENT_LENGTH,
                                  (void*)&amp;DateiGroesseTemp,&amp;HttpQueryInfoBytes,
                                  NULL))
                {
                    InternetCloseHandle(hWebsite);
                    InternetCloseHandle(hInternet);
                    pDaten-&gt;Erfolgreich = false;
                    pDaten-&gt;Fertig = true;
                }
                pDaten-&gt;DateiGroesse = atoi(DateiGroesseTemp);
            }
            {
                char StatusCode[10];
                DWORD HttpQueryInfoBytes = sizeof(StatusCode);
                if(!HttpQueryInfo(hWebsite,HTTP_QUERY_STATUS_CODE,
                                  (void*)&amp;StatusCode,&amp;HttpQueryInfoBytes,
                                  NULL)
                    || atoi(StatusCode) &gt;= 400)
                {
                    InternetCloseHandle(hWebsite);
                    InternetCloseHandle(hInternet);
                    pDaten-&gt;Erfolgreich = false;
                    pDaten-&gt;Fertig = true;
                }
            }
            if(pDaten-&gt;DateiGroesse == 0)
            {
                InternetCloseHandle(hInternet);
                pDaten-&gt;Erfolgreich = false;
                pDaten-&gt;Fertig = true;
                return;
            }
            pDaten-&gt;BytesEmpfangen = 0;
            char TempDateiname[] = &quot;Download.temp&quot;;
            pDaten-&gt;TempDatei.open(TempDateiname,
                                   std::ios_base::out | std::ios_base::binary);
            DWORD bytesRead;                                                     /* Wird beim einlesen verwendet */
            char recvBytes[1024];
            while (pDaten-&gt;BytesEmpfangen &lt; pDaten-&gt;DateiGroesse)
            {
                if (InternetReadFile(hWebsite,(LPVOID)recvBytes,sizeof(recvBytes),&amp;bytesRead))
                {
                    pDaten-&gt;BytesEmpfangen += bytesRead;
                    pDaten-&gt;TempDatei.write(recvBytes, bytesRead);
                }
                else
                {
                    pDaten-&gt;Erfolgreich = false;
                    break;
                }
            }
            InternetCloseHandle(hWebsite);                                                /*	Handles wieder schließen */
            InternetCloseHandle(hInternet);
            pDaten-&gt;TempDatei.close();
            if(!MoveFileEx(TempDateiname,UPDATE_FILENAME,MOVEFILE_REPLACE_EXISTING))
            {
                pDaten-&gt;Erfolgreich = false;
            }
            pDaten-&gt;Fertig = true;
        }
    public:
        Download123()
        {
            Geschlossen = true;
            Daten.Fertig = false;
            GetThread = NULL;
            Daten.DateiGroesse = 0;
            Daten.BytesEmpfangen = 0;
        }
        ~Download123()
        {
            if(GetThread != NULL)
            {
                TerminateThread(GetThread,0);
            }
        }
        void OeffneDatei(std::string was)
        {
            Geschlossen = false;
            Daten.Fertig = false;
            Daten.Url = was;
            GetThread = (HANDLE)_beginthread(GetSourceCode,0,(void*)&amp;Daten);
        }
        void SchliesseDatei()
        {
            Geschlossen = true;
            TerminateThread(GetThread,0);
            GetThread = NULL;
        }
        bool Geoeffnet()
        {
            if(Geschlossen)
            {
                return false;
            }
            return Daten.Fertig;
        }
        bool Erfolgreich()
        {
            return Daten.Erfolgreich;
        }
        int DateiGroesse()
        {
            return Daten.DateiGroesse;
        }
        int BytesEmpfangen()
        {
            return Daten.BytesEmpfangen;
        }
};

int main()
{
    Download123 d;
    d.OeffneDatei(&quot;http://eastbourne.ea.funpic.de/test.txt&quot;);
    while(!d.Geoeffnet())
    {
        Sleep(1000);
        std::cout &lt;&lt; &quot;Lade... &quot; &lt;&lt; d.BytesEmpfangen() &lt;&lt; &quot; von &quot; &lt;&lt; d.DateiGroesse() &lt;&lt; std::endl;
    }
    std::cout &lt;&lt; &quot;Fertig!\n&quot;;
    system(&quot;PAUSE&quot;);
}
</code></pre>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986872</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986872</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Sun, 05 Feb 2006 20:07:07 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 20:11:01 GMT]]></title><description><![CDATA[<p>joomoo schrieb:</p>
<blockquote>
<p>Als ich das geschrieben war ich noch schlechter als jetzt! Der Code ist ein C - C++ Mischmasch und außerdem entstehen Memory Leaks (durch TerminateThread).</p>
</blockquote>
<p>Au backe... &quot;TerminateThread&quot; sollte man <strong>nie</strong> aufrufen!<br />
Siehe: Why you should never call Suspend/TerminateThread (Part I-III)<br />
<a href="http://blog.kalmbachnet.de/?postid=6" rel="nofollow">http://blog.kalmbachnet.de/?postid=6</a><br />
<a href="http://blog.kalmbachnet.de/?postid=16" rel="nofollow">http://blog.kalmbachnet.de/?postid=16</a><br />
<a href="http://blog.kalmbachnet.de/?postid=17" rel="nofollow">http://blog.kalmbachnet.de/?postid=17</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/986876</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986876</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Sun, 05 Feb 2006 20:11:01 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 20:16:11 GMT]]></title><description><![CDATA[<p>Jochen Kalmbach schrieb:</p>
<blockquote>
<p>joomoo schrieb:</p>
<blockquote>
<p>Als ich das geschrieben war ich noch schlechter als jetzt! Der Code ist ein C - C++ Mischmasch und außerdem entstehen Memory Leaks (durch TerminateThread).</p>
</blockquote>
<p>Au backe... &quot;TerminateThread&quot; sollte man <strong>nie</strong> aufrufen!</p>
</blockquote>
<p>Und warum nicht? -&gt; Weil da unter anderem Memory Leaks entstehen. Und was hab ich geschrieben? Das mein Code wirklich &quot;au backe...&quot; ist, weil ich terminatethread benutze. Ich sagte doch dass der Code schlecht ist. Aber immerhin hab ich ihn gepostet. Er kann es ja umschreiben.</p>
<p>Ich bin mir schon bewusst dass dies Kacke ist! Aber hier ne Lösung wie du das ganze umschreibst: Ersetze das TerminateThread durch ein schließén der beiden Handles.</p>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986880</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986880</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Sun, 05 Feb 2006 20:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 20:32:16 GMT]]></title><description><![CDATA[<p>joomoo schrieb:</p>
<blockquote>
<p>Und warum nicht? -&gt; Weil da unter anderem Memory Leaks entstehen.</p>
</blockquote>
<p>Memory-Leaks sind nicht &quot;so&quot; schlimm... aber es kann vorkommen das Deine ganze Anwendung nicht mehr tut...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986894</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986894</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Sun, 05 Feb 2006 20:32:16 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 20:34:37 GMT]]></title><description><![CDATA[<p>Jochen Kalmbach schrieb:</p>
<blockquote>
<p>joomoo schrieb:</p>
<blockquote>
<p>Und warum nicht? -&gt; Weil da unter anderem Memory Leaks entstehen.</p>
</blockquote>
<p>Memory-Leaks sind nicht &quot;so&quot; schlimm... aber es kann vorkommen das Deine ganze Anwendung nicht mehr tut...</p>
</blockquote>
<p>Ja aber ich hab ja jetzt keine CriticalSection. Naja ich weiß dass dies schlecht ist, aber das ist noch von früher, heute würde ich es wieso mit den boost::threads machen und ich glaube da gibt's so eine böse funktion gar nicht.</p>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986895</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986895</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Sun, 05 Feb 2006 20:34:37 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Sun, 05 Feb 2006 20:38:44 GMT]]></title><description><![CDATA[<p>Es kommt ja nicht darauf an, ob <strong>Du</strong> Critical-Sections hast... wenn Du die WinAPI oder die CRT verwendest, gibt es da noch ne menge andere die sowas haben...<br />
Aber wie Du gesagt hast: der Code dient als Anhaltspunkt...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986901</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986901</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Sun, 05 Feb 2006 20:38:44 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Mon, 06 Feb 2006 13:11:23 GMT]]></title><description><![CDATA[<p>erstmal ein dickes DANKE <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
<p>jetzt habe ich wenigstens schon mal was <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>Allerdings noch ein Problem habe ich damit <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>dev-c++ liefert beim compilieren diverse linker error's zurück</p>
<pre><code>[Linker error] undefined reference to `InternetOpenA@20' 
  [Linker error] undefined reference to `InternetOpenUrlA@24' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `HttpQueryInfoA@20' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `HttpQueryInfoA@20' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `InternetReadFile@16' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  ld returned 1 exit status
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/987364</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987364</guid><dc:creator><![CDATA[download123]]></dc:creator><pubDate>Mon, 06 Feb 2006 13:11:23 GMT</pubDate></item><item><title><![CDATA[Reply to Frage: Dateien von einem Server lokal speichern?? on Mon, 06 Feb 2006 14:00:30 GMT]]></title><description><![CDATA[<p>download123 schrieb:</p>
<blockquote>
<p>erstmal ein dickes DANKE <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
<p>jetzt habe ich wenigstens schon mal was <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>Allerdings noch ein Problem habe ich damit <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>dev-c++ liefert beim compilieren diverse linker error's zurück</p>
<pre><code>[Linker error] undefined reference to `InternetOpenA@20' 
  [Linker error] undefined reference to `InternetOpenUrlA@24' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `HttpQueryInfoA@20' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `HttpQueryInfoA@20' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `InternetReadFile@16' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  [Linker error] undefined reference to `InternetCloseHandle@4' 
  ld returned 1 exit status
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
</blockquote>
<p>Du musst die WinInet Library linken. SOlltest du dir allgemein mal merken: bei linker errors mit undefined reference isses meistes ne vergessene library.</p>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987453</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987453</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Mon, 06 Feb 2006 14:00:30 GMT</pubDate></item></channel></rss>