<?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[__ThrowFileName und __ThrowLineNumber]]></title><description><![CDATA[<p>Hallo, hat einer ne Ahnung wieso bei mir __ThrowFileName und __ThrowLineNumber<br />
nicht geht. Ort des auftretens im Projekt ist aktiv.</p>
<p>Hier der Auszug aus meinem catch()</p>
<pre><code>catch (...)
   {
       try
       {
          throw Exception(&quot;&quot;);
       }
       catch (Exception &amp;exception)
       {
          //Application-&gt;ShowException(&amp;exception);
          ShowMessage(exception.Message + &quot;\n\n&quot;
                       + &quot;Exception-Type: &quot; + __ThrowExceptionName() + &quot;\n&quot;
                       + &quot;File: &quot; + __ThrowFileName() + &quot;\n&quot;
                       + &quot;Line: &quot; + AnsiString(__ThrowLineNumber())
                     );
       }
   }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/117707/__throwfilename-und-__throwlinenumber</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Jul 2026 04:27:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/117707.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Aug 2005 14:07:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to __ThrowFileName und __ThrowLineNumber on Wed, 10 Aug 2005 14:07:23 GMT]]></title><description><![CDATA[<p>Hallo, hat einer ne Ahnung wieso bei mir __ThrowFileName und __ThrowLineNumber<br />
nicht geht. Ort des auftretens im Projekt ist aktiv.</p>
<p>Hier der Auszug aus meinem catch()</p>
<pre><code>catch (...)
   {
       try
       {
          throw Exception(&quot;&quot;);
       }
       catch (Exception &amp;exception)
       {
          //Application-&gt;ShowException(&amp;exception);
          ShowMessage(exception.Message + &quot;\n\n&quot;
                       + &quot;Exception-Type: &quot; + __ThrowExceptionName() + &quot;\n&quot;
                       + &quot;File: &quot; + __ThrowFileName() + &quot;\n&quot;
                       + &quot;Line: &quot; + AnsiString(__ThrowLineNumber())
                     );
       }
   }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/849449</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849449</guid><dc:creator><![CDATA[IcemanX]]></dc:creator><pubDate>Wed, 10 Aug 2005 14:07:23 GMT</pubDate></item><item><title><![CDATA[Reply to __ThrowFileName und __ThrowLineNumber on Wed, 10 Aug 2005 14:58:14 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>hast du denn auch das beachtet?</p>
<blockquote>
<p>Damit der Dateiname über __throwFileName ermittelt werden kann, muß das Modul mit der Compiler-Option -xp compiliert werden.</p>
</blockquote>
<p>Edit : Oder wie es im Beispiel steht, diese Zeile hinzufügen</p>
<pre><code class="language-cpp">#pragma option -xp
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849523</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849523</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 10 Aug 2005 14:58:14 GMT</pubDate></item><item><title><![CDATA[Reply to __ThrowFileName und __ThrowLineNumber on Wed, 10 Aug 2005 15:15:11 GMT]]></title><description><![CDATA[<p>akari schrieb:</p>
<blockquote>
<p>Hallo</p>
<p>hast du denn auch das beachtet?</p>
<blockquote>
<p>Damit der Dateiname über __throwFileName ermittelt werden kann, muß das Modul mit der Compiler-Option -xp compiliert werden.</p>
</blockquote>
<p>Edit : Oder wie es im Beispiel steht, diese Zeile hinzufügen</p>
<pre><code class="language-cpp">#pragma option -xp
</code></pre>
<p>bis bald<br />
akari</p>
</blockquote>
<p>Hallo,</p>
<p>dachte das geschiet durch die Einstellung &quot;Ort des auftretens&quot; im Projekt.</p>
<p>Muss das in jede *.cpp oder nur in der mit catch()</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849540</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849540</guid><dc:creator><![CDATA[IcemanX]]></dc:creator><pubDate>Wed, 10 Aug 2005 15:15:11 GMT</pubDate></item><item><title><![CDATA[Reply to __ThrowFileName und __ThrowLineNumber on Wed, 10 Aug 2005 15:25:07 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>- Zitate auf das notwendige beschränken, in diesem Fall war kein Zitat notwendig.<br />
- einfach mal ausprobieren?</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849558</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849558</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 10 Aug 2005 15:25:07 GMT</pubDate></item><item><title><![CDATA[Reply to __ThrowFileName und __ThrowLineNumber on Wed, 10 Aug 2005 15:35:37 GMT]]></title><description><![CDATA[<p>wie jetzt, weist du es oder nicht?</p>
<p>trotzdem danke für den tip.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849573</guid><dc:creator><![CDATA[IcemanX]]></dc:creator><pubDate>Wed, 10 Aug 2005 15:35:37 GMT</pubDate></item><item><title><![CDATA[Reply to __ThrowFileName und __ThrowLineNumber on Wed, 10 Aug 2005 15:45:22 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Hast du except.h inkludiert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849581</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849581</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Wed, 10 Aug 2005 15:45:22 GMT</pubDate></item><item><title><![CDATA[Reply to __ThrowFileName und __ThrowLineNumber on Wed, 10 Aug 2005 15:54:31 GMT]]></title><description><![CDATA[<p>Ja, sonst würd ja der Compieler bereits mekern.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849595</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849595</guid><dc:creator><![CDATA[IcemanX]]></dc:creator><pubDate>Wed, 10 Aug 2005 15:54:31 GMT</pubDate></item></channel></rss>