<?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[import einer funktion aus einer (eigenen) dll - stack pointer fehler]]></title><description><![CDATA[<p>hallo</p>
<p>also ich hab eine funktion LoadTable, die ich aus einer dll exportiere<br />
in der echse importiere ich die dll und rufe sie mit getprocaddress auf.<br />
es funktioniert alles, die funktion wird aufgerufen und ergebnis liegt auch vor!<br />
nur:<br />
beim ende des programms kommt folgender fehler:</p>
<blockquote>
<p>Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.</p>
</blockquote>
<p>=&gt; die aufrufkonvention stimmt aber!</p>
<p>hier der paste:<br />
<a href="http://rafb.net/p/XmbamC45.html" rel="nofollow">http://rafb.net/p/XmbamC45.html</a></p>
<p>oben die echse, unten die dll, und gaanz unten der output</p>
<p>BITTE ich bin verzweifelt.<br />
lg, thomas</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/172158/import-einer-funktion-aus-einer-eigenen-dll-stack-pointer-fehler</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 14:44:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/172158.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Feb 2007 21:56:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to import einer funktion aus einer (eigenen) dll - stack pointer fehler on Thu, 01 Feb 2007 21:56:50 GMT]]></title><description><![CDATA[<p>hallo</p>
<p>also ich hab eine funktion LoadTable, die ich aus einer dll exportiere<br />
in der echse importiere ich die dll und rufe sie mit getprocaddress auf.<br />
es funktioniert alles, die funktion wird aufgerufen und ergebnis liegt auch vor!<br />
nur:<br />
beim ende des programms kommt folgender fehler:</p>
<blockquote>
<p>Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.</p>
</blockquote>
<p>=&gt; die aufrufkonvention stimmt aber!</p>
<p>hier der paste:<br />
<a href="http://rafb.net/p/XmbamC45.html" rel="nofollow">http://rafb.net/p/XmbamC45.html</a></p>
<p>oben die echse, unten die dll, und gaanz unten der output</p>
<p>BITTE ich bin verzweifelt.<br />
lg, thomas</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1221442</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1221442</guid><dc:creator><![CDATA[HomerJ666]]></dc:creator><pubDate>Thu, 01 Feb 2007 21:56:50 GMT</pubDate></item><item><title><![CDATA[Reply to import einer funktion aus einer (eigenen) dll - stack pointer fehler on Thu, 01 Feb 2007 23:13:41 GMT]]></title><description><![CDATA[<p>Gleicher Compiler?<br />
Gleiche STL?<br />
Gleiches Build Environment?<br />
Alle Compiler Einstellungen gleich?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1221472</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1221472</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Thu, 01 Feb 2007 23:13:41 GMT</pubDate></item><item><title><![CDATA[Reply to import einer funktion aus einer (eigenen) dll - stack pointer fehler on Fri, 02 Feb 2007 12:05:15 GMT]]></title><description><![CDATA[<p>ja - hab ja beide teile selber hier am selben computer gemacht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /><br />
compiler/linker einstellungen auch schon durchgecheckt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1221685</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1221685</guid><dc:creator><![CDATA[HomerJ666]]></dc:creator><pubDate>Fri, 02 Feb 2007 12:05:15 GMT</pubDate></item><item><title><![CDATA[Reply to import einer funktion aus einer (eigenen) dll - stack pointer fehler on Fri, 02 Feb 2007 12:51:49 GMT]]></title><description><![CDATA[<p>hat sich erledigt.. beim 3. mal projekt neu erstellen gehts auf einmal <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="😕"
    /> <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="😕"
    /> <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>
<p>wie auch immer, danke fürs durchlesen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1221716</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1221716</guid><dc:creator><![CDATA[HomerJ666]]></dc:creator><pubDate>Fri, 02 Feb 2007 12:51:49 GMT</pubDate></item></channel></rss>