<?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[Abnormal program termination]]></title><description><![CDATA[<p>Hi...</p>
<p>Ich habe eine kleine simple Klasse geschrieben, die Winsock kapselt. Beim Auftreten eines Fehlers innerhalb der Memberfunktionen throwe ich den Errorcode (Integerwert), den ich mithilfe von WSAGetLastError() erhalte. Wenn ich nun ein Objekt meiner Klasse erstelle, Funktionen daran ausführe (Connecten, Senden, Receiven, ...) und es wird eine solche Exception geworfen, die ich jedoch nicht catche, dann steigt das Programm mit &quot;Abnormal program termination&quot; aus. Catche ich diese Exception passiert nichts und es läuft alles glatt.</p>
<p>Gibts da Abhilfe?</p>
<p>Danke!<br />
MfG<br />
simon`phoenix</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/62770/abnormal-program-termination</link><generator>RSS for Node</generator><lastBuildDate>Thu, 04 Jun 2026 05:08:47 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/62770.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Jan 2004 20:51:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Abnormal program termination on Mon, 26 Jan 2004 20:52:19 GMT]]></title><description><![CDATA[<p>Hi...</p>
<p>Ich habe eine kleine simple Klasse geschrieben, die Winsock kapselt. Beim Auftreten eines Fehlers innerhalb der Memberfunktionen throwe ich den Errorcode (Integerwert), den ich mithilfe von WSAGetLastError() erhalte. Wenn ich nun ein Objekt meiner Klasse erstelle, Funktionen daran ausführe (Connecten, Senden, Receiven, ...) und es wird eine solche Exception geworfen, die ich jedoch nicht catche, dann steigt das Programm mit &quot;Abnormal program termination&quot; aus. Catche ich diese Exception passiert nichts und es läuft alles glatt.</p>
<p>Gibts da Abhilfe?</p>
<p>Danke!<br />
MfG<br />
simon`phoenix</p>
]]></description><link>https://www.c-plusplus.net/forum/post/444713</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/444713</guid><dc:creator><![CDATA[simon.phoenix]]></dc:creator><pubDate>Mon, 26 Jan 2004 20:52:19 GMT</pubDate></item><item><title><![CDATA[Reply to Abnormal program termination on Tue, 27 Jan 2004 11:46:20 GMT]]></title><description><![CDATA[<p>Und was passt dir daran net ?? Wenn du die exception nicht behandelst wird dein Prog geschlossen, basta, war schon immer so und sich so bald auch net ändern <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
<p>Ich zitiere mal aus der MSDN zum Thema throw:</p>
<blockquote>
<p>THROW interrupts program execution, passing control to the associated CATCH block in your program. If you have not provided the CATCH block, then control is passed to a Microsoft Foundation Class Library module that prints an error message and exits.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/445090</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/445090</guid><dc:creator><![CDATA[CMatt]]></dc:creator><pubDate>Tue, 27 Jan 2004 11:46:20 GMT</pubDate></item><item><title><![CDATA[Reply to Abnormal program termination on Tue, 27 Jan 2004 16:36:50 GMT]]></title><description><![CDATA[<p>ok <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="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/445468</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/445468</guid><dc:creator><![CDATA[simon.phoenix]]></dc:creator><pubDate>Tue, 27 Jan 2004 16:36:50 GMT</pubDate></item></channel></rss>