<?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[erweiterte Informationen bei EAccessViolation auslesen (war: Über Zugriffsverletzungen...)]]></title><description><![CDATA[<p>Hallo,</p>
<p>mir macht im Moment folgendes Problem zu schaffen:<br />
Wenn eine Zugriffverletzung in meinem Programm ausgelöst wird und sie nicht abgefangen wird, bekommt man normalerweise eine MessageBox mit Informationen, an welcher Speicherstelle im Programm sie ausgelöst wurde.<br />
Wenn ich die Exception aber nun mit</p>
<pre><code>try...

catch (EAccessViolation&amp; Ex)
{
 Application-&gt;MessageBox(Ex.Message.c_str(),&quot;&quot;,16);
}
</code></pre>
<p>abfange, dann bekomme ich als Meldung nur &quot;EAccessViolation&quot;.<br />
Nicht sehr vielsagend, wo bekomme ich diese anderen Informationen her?</p>
<p><strong>Edit:</strong><br />
Bitte aussagekräftige Überschriften wählen. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/162338/erweiterte-informationen-bei-eaccessviolation-auslesen-war-über-zugriffsverletzungen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 19:26:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/162338.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Oct 2006 17:40:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to erweiterte Informationen bei EAccessViolation auslesen (war: Über Zugriffsverletzungen...) on Tue, 17 Oct 2006 17:57:44 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>mir macht im Moment folgendes Problem zu schaffen:<br />
Wenn eine Zugriffverletzung in meinem Programm ausgelöst wird und sie nicht abgefangen wird, bekommt man normalerweise eine MessageBox mit Informationen, an welcher Speicherstelle im Programm sie ausgelöst wurde.<br />
Wenn ich die Exception aber nun mit</p>
<pre><code>try...

catch (EAccessViolation&amp; Ex)
{
 Application-&gt;MessageBox(Ex.Message.c_str(),&quot;&quot;,16);
}
</code></pre>
<p>abfange, dann bekomme ich als Meldung nur &quot;EAccessViolation&quot;.<br />
Nicht sehr vielsagend, wo bekomme ich diese anderen Informationen her?</p>
<p><strong>Edit:</strong><br />
Bitte aussagekräftige Überschriften wählen. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156507</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156507</guid><dc:creator><![CDATA[Nanyuki]]></dc:creator><pubDate>Tue, 17 Oct 2006 17:57:44 GMT</pubDate></item><item><title><![CDATA[Reply to erweiterte Informationen bei EAccessViolation auslesen (war: Über Zugriffsverletzungen...) on Tue, 17 Oct 2006 17:54:48 GMT]]></title><description><![CDATA[<p>Sieh dir doch einfach mal die Liste an Methoden und Membervariablen an, die z.B. per CodeInsight angeboten werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156521</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156521</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Tue, 17 Oct 2006 17:54:48 GMT</pubDate></item><item><title><![CDATA[Reply to erweiterte Informationen bei EAccessViolation auslesen (war: Über Zugriffsverletzungen...) on Tue, 17 Oct 2006 18:07:12 GMT]]></title><description><![CDATA[<p>Laut Dokumentation hat EAccessViolation keine weiteren relevanten Eigenschaften oder Methoden, nur eben den String &quot;Message&quot;.<br />
Bei den meisten (allen?) anderen Exceptions enthält Message auch die komplette Fehlermeldung, nur hier gerade mal nicht...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156527</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156527</guid><dc:creator><![CDATA[Nanyuki]]></dc:creator><pubDate>Tue, 17 Oct 2006 18:07:12 GMT</pubDate></item><item><title><![CDATA[Reply to erweiterte Informationen bei EAccessViolation auslesen (war: Über Zugriffsverletzungen...) on Tue, 17 Oct 2006 19:34:55 GMT]]></title><description><![CDATA[<p>Einfach nochmal komplett lesen, was ich geschrieben hatte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156591</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156591</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Tue, 17 Oct 2006 19:34:55 GMT</pubDate></item><item><title><![CDATA[Reply to erweiterte Informationen bei EAccessViolation auslesen (war: Über Zugriffsverletzungen...) on Tue, 17 Oct 2006 21:07:00 GMT]]></title><description><![CDATA[<p>Ist ja schön und recht, und wo bekomme ich CodeInsight her?<br />
Ist das eine Art Plug-in für den BCB?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156643</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156643</guid><dc:creator><![CDATA[Nanyuki]]></dc:creator><pubDate>Tue, 17 Oct 2006 21:07:00 GMT</pubDate></item><item><title><![CDATA[Reply to erweiterte Informationen bei EAccessViolation auslesen (war: Über Zugriffsverletzungen...) on Wed, 18 Oct 2006 06:59:40 GMT]]></title><description><![CDATA[<p>Ja, wenn man mit der Maus auf die Variable geht.....beim debuggen...beim editieren nach dem . oder -&gt;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156687</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156687</guid><dc:creator><![CDATA[Christian411]]></dc:creator><pubDate>Wed, 18 Oct 2006 06:59:40 GMT</pubDate></item><item><title><![CDATA[Reply to erweiterte Informationen bei EAccessViolation auslesen (war: Über Zugriffsverletzungen...) on Wed, 18 Oct 2006 15:33:35 GMT]]></title><description><![CDATA[<p>Christian411 schrieb:</p>
<blockquote>
<p>Ja, wenn man mit der Maus auf die Variable geht.....beim debuggen...beim editieren nach dem . oder -&gt;</p>
</blockquote>
<p>Nicht wirklich...<br />
Ich benutze den BCB 1.</p>
<p>Das muss doch irgendwie möglich sein...<br />
das heißt, ich weiß ja genau, dass es möglich ist, nur wie...<br />
GetExceptionInformation() wäre wohl eine gute Funktion, nur lässt sich die nicht in einem catch-Block aufrufen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157193</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157193</guid><dc:creator><![CDATA[Nanyuki]]></dc:creator><pubDate>Wed, 18 Oct 2006 15:33:35 GMT</pubDate></item><item><title><![CDATA[Reply to erweiterte Informationen bei EAccessViolation auslesen (war: Über Zugriffsverletzungen...) on Wed, 18 Oct 2006 16:27:39 GMT]]></title><description><![CDATA[<p>Ich musste nie mit dem BCB1 arbeiten, deshalb: im Zweifel für den Angeklagten.<br />
EAccessViolation verfügt über eine von EExternal geerbte Membervariable ExceptionRecord.</p>
<p>BCB6-Hilfe schrieb:</p>
<blockquote>
<p>EExternal is the ancestor of all exception classes that represent Win32 exception codes. EExternal has a public member, ExceptionRecord that points to an EXCEPTION_RECORD data structure:</p>
<p>_EXCEPTION_RECORD *ExceptionRecord;</p>
<p>typedef struct _EXCEPTION_RECORD {<br />
DWORD ExceptionCode;<br />
DWORD ExceptionFlags;<br />
struct _EXCEPTION_RECORD *ExceptionRecord;<br />
PVOID ExceptionAddress;<br />
DWORD NumberParameters;<br />
DWORD ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS];<br />
} EXCEPTION_RECORD;</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1157217</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157217</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Wed, 18 Oct 2006 16:27:39 GMT</pubDate></item><item><title><![CDATA[Reply to erweiterte Informationen bei EAccessViolation auslesen (war: Über Zugriffsverletzungen...) on Thu, 19 Oct 2006 14:26:53 GMT]]></title><description><![CDATA[<p>Ok, das wäre hilfreich gewesen...<br />
leider hat EAccessViolation diese Membervariable beim BCB1 nicht, denn EExternal existiert erst gar nicht.<br />
Ich muss mir wohl ernsthaft überlegen, mir eine neuere Version zuzulegen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157689</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157689</guid><dc:creator><![CDATA[Nanyuki]]></dc:creator><pubDate>Thu, 19 Oct 2006 14:26:53 GMT</pubDate></item></channel></rss>