<?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[ESP Error ...]]></title><description><![CDATA[<p>In meinem Programm habe ich in einer Header-Datei, mehrere &quot;struct&quot; definiert.<br />
Das klappt soweit. Jetzt habe ich eine &quot;struct&quot; hinzugefügt, und das Programm<br />
stürzt ab. Mit folgender Fehlermeldung:</p>
<p>Debug Error!<br />
Programm c:\Projekte\GLisp\Debug\GLisp.exe<br />
Module:<br />
File i386\chkesp.c<br />
Line 42<br />
The value of ESP was not properly saved across a function call. This is<br />
usually a result of calling a function declared with one calling<br />
convention with a function pointer declared with a different calling<br />
convention.</p>
<p>Später habe ich diesen struct in eine neue Klasse ausgelagert. Das geht.</p>
<p>Folgende &quot;struct&quot;<br />
struct Vektor2<br />
{<br />
short Zuege[7];<br />
short Zuegelevel;<br />
};</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/186326/esp-error</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 08:05:50 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/186326.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 07 Jul 2007 13:56:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ESP Error ... on Sat, 07 Jul 2007 13:56:53 GMT]]></title><description><![CDATA[<p>In meinem Programm habe ich in einer Header-Datei, mehrere &quot;struct&quot; definiert.<br />
Das klappt soweit. Jetzt habe ich eine &quot;struct&quot; hinzugefügt, und das Programm<br />
stürzt ab. Mit folgender Fehlermeldung:</p>
<p>Debug Error!<br />
Programm c:\Projekte\GLisp\Debug\GLisp.exe<br />
Module:<br />
File i386\chkesp.c<br />
Line 42<br />
The value of ESP was not properly saved across a function call. This is<br />
usually a result of calling a function declared with one calling<br />
convention with a function pointer declared with a different calling<br />
convention.</p>
<p>Später habe ich diesen struct in eine neue Klasse ausgelagert. Das geht.</p>
<p>Folgende &quot;struct&quot;<br />
struct Vektor2<br />
{<br />
short Zuege[7];<br />
short Zuegelevel;<br />
};</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1320230</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1320230</guid><dc:creator><![CDATA[GeorgC++]]></dc:creator><pubDate>Sat, 07 Jul 2007 13:56:53 GMT</pubDate></item><item><title><![CDATA[Reply to ESP Error ... on Sat, 07 Jul 2007 15:19:27 GMT]]></title><description><![CDATA[<p>[quote=&quot;GeorgC++&quot;Später habe ich diesen struct in eine neue Klasse ausgelagert. Das geht.[/quote]</p>
<p>Das ist eher Zufall. Eine Deklaration einer Klasse oder Strktur löst keine derartigen Fehler. Ein wenig Code wäre gut.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1320266</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1320266</guid><dc:creator><![CDATA[HaJo.]]></dc:creator><pubDate>Sat, 07 Jul 2007 15:19:27 GMT</pubDate></item><item><title><![CDATA[Reply to ESP Error ... on Mon, 09 Jul 2007 09:30:30 GMT]]></title><description><![CDATA[<p>Ich habe mein obiges Problem gelöst.<br />
Und zwar habe ich ein globales Objekt angelegt:<br />
CGrund GRU;<br />
und dies einer Funktion übergeben:<br />
ZeichneBrettt( ..., GRU, ...);<br />
Die Klasse CGrund enthält eine grosse Datenmenge.<br />
Diese kann der Funktion deswegen nicht übergeben werde.<br />
Die Lösung:<br />
Ich übergebe der Funktion einen Zeiger auf das Objekt ( GRU )<br />
ZeicheneBrett( ..., &amp;GRU, ...);<br />
Und Tschüss ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1321273</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1321273</guid><dc:creator><![CDATA[GeorgC++]]></dc:creator><pubDate>Mon, 09 Jul 2007 09:30:30 GMT</pubDate></item></channel></rss>