<?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[StackOverflow bei Mehrfachaufruf eines Links]]></title><description><![CDATA[<p>Ich will ein Programm schreiben, dass diese Funktionen hat:</p>
<p>- man klickt auf ein Button und der setzt Timer1-&gt;Enabled auf true<br />
- der Timer ruft einen Link auf im Interval = 100<br />
- der Link beinhaltet eine Variable, die pro Timeraufruf um 1 erhoeht wird<br />
- wenn die Variable = 70000 ist, soll der Timer stoppen</p>
<p>Der Link ist:<br />
&quot;<a href="http://streetbattle.maedhros.com/sb1speed/gebdet.php?gebid=" rel="nofollow">http://streetbattle.maedhros.com/sb1speed/gebdet.php?gebid=</a>&quot; + IntToStr(i) + &quot;&amp;action=3&quot;</p>
<p>Das ist die Routine des Timers:</p>
<pre><code class="language-cpp">void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
        link = &quot;http://streetbattle.maedhros.com/sb1speed/gebdet.php?gebid=&quot; + IntToStr(i++) + &quot;&amp;action=3&quot;;
        ShellExecute (Handle, &quot;open&quot;, link.c_str(), 0, 0, SW_SHOW);
        if (i = 70000)
        {
                Timer1-&gt;Enabled = false;
        }
        link = &quot;&quot;;
}
</code></pre>
<p>Die Seite wird 89 mal Aufgerufen also bis:<br />
<a href="http://streetbattle.maedhros.com/sb1speed/gebdet.php?gebid=" rel="nofollow">http://streetbattle.maedhros.com/sb1speed/gebdet.php?gebid=</a><strong>89</strong>action=3</p>
<p>Danach kommt ein Fehler EStackOverflow.<br />
Weiss jemand, wie ich das behebe?</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/89631/stackoverflow-bei-mehrfachaufruf-eines-links</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Jul 2026 06:12:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/89631.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 Oct 2004 12:24:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Thu, 21 Oct 2004 12:24:42 GMT]]></title><description><![CDATA[<p>Ich will ein Programm schreiben, dass diese Funktionen hat:</p>
<p>- man klickt auf ein Button und der setzt Timer1-&gt;Enabled auf true<br />
- der Timer ruft einen Link auf im Interval = 100<br />
- der Link beinhaltet eine Variable, die pro Timeraufruf um 1 erhoeht wird<br />
- wenn die Variable = 70000 ist, soll der Timer stoppen</p>
<p>Der Link ist:<br />
&quot;<a href="http://streetbattle.maedhros.com/sb1speed/gebdet.php?gebid=" rel="nofollow">http://streetbattle.maedhros.com/sb1speed/gebdet.php?gebid=</a>&quot; + IntToStr(i) + &quot;&amp;action=3&quot;</p>
<p>Das ist die Routine des Timers:</p>
<pre><code class="language-cpp">void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
        link = &quot;http://streetbattle.maedhros.com/sb1speed/gebdet.php?gebid=&quot; + IntToStr(i++) + &quot;&amp;action=3&quot;;
        ShellExecute (Handle, &quot;open&quot;, link.c_str(), 0, 0, SW_SHOW);
        if (i = 70000)
        {
                Timer1-&gt;Enabled = false;
        }
        link = &quot;&quot;;
}
</code></pre>
<p>Die Seite wird 89 mal Aufgerufen also bis:<br />
<a href="http://streetbattle.maedhros.com/sb1speed/gebdet.php?gebid=" rel="nofollow">http://streetbattle.maedhros.com/sb1speed/gebdet.php?gebid=</a><strong>89</strong>action=3</p>
<p>Danach kommt ein Fehler EStackOverflow.<br />
Weiss jemand, wie ich das behebe?</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634109</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634109</guid><dc:creator><![CDATA[Psychomann]]></dc:creator><pubDate>Thu, 21 Oct 2004 12:24:42 GMT</pubDate></item><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Thu, 21 Oct 2004 13:12:38 GMT]]></title><description><![CDATA[<p>Und wo hält da der Debugger an?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634156</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634156</guid><dc:creator><![CDATA[junix]]></dc:creator><pubDate>Thu, 21 Oct 2004 13:12:38 GMT</pubDate></item><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Thu, 21 Oct 2004 13:28:00 GMT]]></title><description><![CDATA[<p>Eigentlich dürfte die Funktion sogar nur einmal durchlaufen werden:</p>
<pre><code class="language-cpp">if (i = 70000)
</code></pre>
<p>ist schon im ersten Durchlauf true...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634172</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634172</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Thu, 21 Oct 2004 13:28:00 GMT</pubDate></item><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Thu, 21 Oct 2004 13:31:48 GMT]]></title><description><![CDATA[<p>Da haelt der Compiler auch an.<br />
Aber warum ist das gleich beim ersten Durchlauf true??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634175</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634175</guid><dc:creator><![CDATA[Psychomann]]></dc:creator><pubDate>Thu, 21 Oct 2004 13:31:48 GMT</pubDate></item><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Thu, 21 Oct 2004 13:44:59 GMT]]></title><description><![CDATA[<p>weil Du i die 70000 <em>zuweist</em> (i = 70000) und nicht i mit 70000 <em>vergleichst</em> (i == 70000). Somit ist die Bedingung immer true...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634183</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634183</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Thu, 21 Oct 2004 13:44:59 GMT</pubDate></item><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Thu, 21 Oct 2004 13:55:56 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>EStackOverflow = Stackueberlauf<br />
vermutlich dauert dein Aufruf von ShellExecute laenger als<br />
deine Zeitspanne</p>
<p>Abhilfe:<br />
zuerst als erstes in deiner Timer1Timer &quot;Timer1-&gt;Enabled = false;<br />
in Timer1Timer dann kannst du falls noetig<br />
deinen Time rwieder aktivieren</p>
<p>MfG<br />
Klaus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634189</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634189</guid><dc:creator><![CDATA[KlausB]]></dc:creator><pubDate>Thu, 21 Oct 2004 13:55:56 GMT</pubDate></item><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Thu, 21 Oct 2004 14:12:15 GMT]]></title><description><![CDATA[<p>*Lacht laut*</p>
<p>Ich danke dir <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":-D"
      alt="😃"
    /><br />
Doch kommt immernoch der Fehler.<br />
EStackOverflow bei: if (i == 70000)</p>
<p>*EDIT Danke Klaus, jetzt geht es, das wird es gewesen sein <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>
]]></description><link>https://www.c-plusplus.net/forum/post/634190</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634190</guid><dc:creator><![CDATA[Psychomann]]></dc:creator><pubDate>Thu, 21 Oct 2004 14:12:15 GMT</pubDate></item><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Thu, 21 Oct 2004 14:54:51 GMT]]></title><description><![CDATA[<p>Dann wurde der Timer aber an anderer Stelle wieder aktiviert.</p>
<p>Der gepostete Code deaktiviert den Timer beim ersten Durchlauf...</p>
<p>Grüße Joe_M.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634255</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634255</guid><dc:creator><![CDATA[zufaulzumeinloggen]]></dc:creator><pubDate>Thu, 21 Oct 2004 14:54:51 GMT</pubDate></item><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Thu, 21 Oct 2004 15:56:30 GMT]]></title><description><![CDATA[<p>Lief trotzdem weiter, bis, wie gesagt, i = 89 war.</p>
<p>*EDIT nun habe ich eine 2. Frage, ich stelle sie mal hier rein:</p>
<pre><code class="language-cpp">if (ComboBox1-&gt;Text == ComboBox1-&gt;Items[0])
</code></pre>
<p>'operator==' not implemented in type 'AnsiString' for arguments of type 'TStrings'</p>
<p>Wie kriege ich das behoben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634283</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634283</guid><dc:creator><![CDATA[Psychomann]]></dc:creator><pubDate>Thu, 21 Oct 2004 15:56:30 GMT</pubDate></item><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Thu, 21 Oct 2004 18:43:46 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">if (ComboBox1-&gt;Text == ComboBox1-&gt;Items-&gt;Strings[0])
</code></pre>
<p>Geht nur so, warum nicht direkt weiß ich auch nicht genau...</p>
<p>Und nextes mal bitte Suchfunktion benutzen... Thema gabs schon oft genug.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634458</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634458</guid><dc:creator><![CDATA[aaaabyx]]></dc:creator><pubDate>Thu, 21 Oct 2004 18:43:46 GMT</pubDate></item><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Fri, 22 Oct 2004 11:44:59 GMT]]></title><description><![CDATA[<p>aaaabyx schrieb:</p>
<blockquote>
<pre><code class="language-cpp">if (ComboBox1-&gt;Text == ComboBox1-&gt;Items-&gt;Strings[0])
</code></pre>
<p>Geht nur so, warum nicht direkt weiß ich auch nicht genau...</p>
</blockquote>
<p>Weil die Eigenschaft Items einen Zeiger auf ein TStrings-Objekt zurückliefert und <strong>nicht</strong> auf ein Array von AnsiStrings.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634923</guid><dc:creator><![CDATA[Burkhi]]></dc:creator><pubDate>Fri, 22 Oct 2004 11:44:59 GMT</pubDate></item><item><title><![CDATA[Reply to StackOverflow bei Mehrfachaufruf eines Links on Fri, 22 Oct 2004 13:22:23 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>statt der Version</p>
<pre><code class="language-cpp">if (ComboBox1-&gt;Text == ComboBox1-&gt;Items-&gt;Strings[0])
</code></pre>
<p>einfacher erscheint mir da</p>
<pre><code class="language-cpp">if ( ComboBox1-&gt;ItemIndex == 0 )
</code></pre>
<p>besser (verstaendlicher)</p>
<p>MfG<br />
Klaus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/635046</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/635046</guid><dc:creator><![CDATA[KlausB]]></dc:creator><pubDate>Fri, 22 Oct 2004 13:22:23 GMT</pubDate></item></channel></rss>