<?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[Exception aus einer DLL heraus werfen]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe eine DLL, die in einer Funktion einfach &quot;throw 1;&quot; ausführt.<br />
Der Funktionsaufruf in der EXE hat einen try-catch-Block drumrum und soll das ganze abfangen.<br />
Das tut er aber nur im Debug-Modus. Im Release-Modus rausch die Exception einfach durch!<br />
Am reinen Code kann es kaum noch liegen, da ich nichts weiter mache als try, catch und throw.<br />
Und der Debugger hilft nicht mehr weiter.</p>
<p>Habe ich evtl. falsche Projekteinstellungen, die problematisch sind? Die DLL verwendet die MFC und besitzt auch so ein theApp-Objekt...</p>
<p>Danke,<br />
Stimpleton</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/186850/exception-aus-einer-dll-heraus-werfen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 00:44:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/186850.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Jul 2007 06:26:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Exception aus einer DLL heraus werfen on Fri, 13 Jul 2007 06:26:22 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe eine DLL, die in einer Funktion einfach &quot;throw 1;&quot; ausführt.<br />
Der Funktionsaufruf in der EXE hat einen try-catch-Block drumrum und soll das ganze abfangen.<br />
Das tut er aber nur im Debug-Modus. Im Release-Modus rausch die Exception einfach durch!<br />
Am reinen Code kann es kaum noch liegen, da ich nichts weiter mache als try, catch und throw.<br />
Und der Debugger hilft nicht mehr weiter.</p>
<p>Habe ich evtl. falsche Projekteinstellungen, die problematisch sind? Die DLL verwendet die MFC und besitzt auch so ein theApp-Objekt...</p>
<p>Danke,<br />
Stimpleton</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1324282</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1324282</guid><dc:creator><![CDATA[stimpleton]]></dc:creator><pubDate>Fri, 13 Jul 2007 06:26:22 GMT</pubDate></item><item><title><![CDATA[Reply to Exception aus einer DLL heraus werfen on Fri, 13 Jul 2007 08:04:37 GMT]]></title><description><![CDATA[<p>Komisch, wenn ich extern &quot;C&quot; rausnehme geht's... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1324374</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1324374</guid><dc:creator><![CDATA[stimpleton]]></dc:creator><pubDate>Fri, 13 Jul 2007 08:04:37 GMT</pubDate></item><item><title><![CDATA[Reply to Exception aus einer DLL heraus werfen on Sat, 14 Jul 2007 01:39:03 GMT]]></title><description><![CDATA[<p>MSVC nimmt bei 'extern &quot;C&quot;' Funktionen an dass diese keine Exceptions werfen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1325087</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1325087</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Sat, 14 Jul 2007 01:39:03 GMT</pubDate></item></channel></rss>