<?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[_stdcall]]></title><description><![CDATA[<p>Mal eine Frage, <strong>_stdcall</strong> macht es ja für andere Sprachen an eine DLL anzuknüpfen.</p>
<p>So jetzt, muss dieses <strong>_stdcall</strong> an alles einzeln rangesetzt werden. Auch an die Funktionen, oder reicht es wenn die Deklaration das hat.</p>
<p>Bsp.<br />
<strong>int _stdcall machwas(void);<br />
int _stdcall machwas(void){Funktion;}</strong><br />
oder reicht<br />
<strong>int machwas(void){Funktion;}</strong></p>
<p>Hab das gerade gelesen, das es nützlich sein soll. Aber leider nix über die genaue Anwendung gefunden. Auch nicht im Forum.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/165204/_stdcall</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 06:05:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/165204.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Nov 2006 14:43:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to _stdcall on Thu, 16 Nov 2006 14:43:23 GMT]]></title><description><![CDATA[<p>Mal eine Frage, <strong>_stdcall</strong> macht es ja für andere Sprachen an eine DLL anzuknüpfen.</p>
<p>So jetzt, muss dieses <strong>_stdcall</strong> an alles einzeln rangesetzt werden. Auch an die Funktionen, oder reicht es wenn die Deklaration das hat.</p>
<p>Bsp.<br />
<strong>int _stdcall machwas(void);<br />
int _stdcall machwas(void){Funktion;}</strong><br />
oder reicht<br />
<strong>int machwas(void){Funktion;}</strong></p>
<p>Hab das gerade gelesen, das es nützlich sein soll. Aber leider nix über die genaue Anwendung gefunden. Auch nicht im Forum.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1175978</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1175978</guid><dc:creator><![CDATA[Nightstorm]]></dc:creator><pubDate>Thu, 16 Nov 2006 14:43:23 GMT</pubDate></item><item><title><![CDATA[Reply to _stdcall on Thu, 16 Nov 2006 15:19:46 GMT]]></title><description><![CDATA[<p>Nightstorm schrieb:</p>
<blockquote>
<p>So jetzt, muss dieses <strong>_stdcall</strong> an alles einzeln rangesetzt werden. Auch an die Funktionen, oder reicht es wenn die Deklaration das hat.</p>
</blockquote>
<p>Nein das gehört überall hin (Deklaration und Definition).</p>
<p>PS in der MSDN gibts noch ne Erklärung dazu <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>
<p>Siehe:</p>
<p>Argument Passing and Naming Conventions schrieb:</p>
<blockquote>
<p>The __stdcall calling convention is used to call Win32 API functions. The callee cleans the stack, so the compiler makes vararg functions __cdecl. Functions that use this calling convention require a function prototype. The following list shows the implementation of this calling convention.</p>
</blockquote>
<p>Quelle <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/27a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--right_arrow"
      title=":arrow_right:"
      alt="➡"
    /> <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_core___stdcall.asp" rel="nofollow"><strong>_</strong>_stdcall</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1176022</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1176022</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Thu, 16 Nov 2006 15:19:46 GMT</pubDate></item><item><title><![CDATA[Reply to _stdcall on Thu, 16 Nov 2006 15:32:10 GMT]]></title><description><![CDATA[<p>Danke erstmal.</p>
<p>aber noch eine Frage muss das auch an Variablen und Strukturen, wenn ich das richtig interpretiere, geht es nur um den Funktions-Stack. Oder? Wie macht man das eigentlich an einen Callback?</p>
<p>so:<br />
typedef void _stdcall (*pointername)(parameter);</p>
<p>und muss die Funktion auch eine</p>
<p>void _stdcall name(para) sein?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1176029</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1176029</guid><dc:creator><![CDATA[Nightstorm]]></dc:creator><pubDate>Thu, 16 Nov 2006 15:32:10 GMT</pubDate></item><item><title><![CDATA[Reply to _stdcall on Thu, 16 Nov 2006 15:43:35 GMT]]></title><description><![CDATA[<p>Nightstorm schrieb:</p>
<blockquote>
<p>aber noch eine Frage muss das auch an Variablen und Strukturen, wenn ich das richtig interpretiere, geht es nur um den Funktions-Stack. Oder?</p>
</blockquote>
<p>Ja.</p>
<p>Nightstorm schrieb:</p>
<blockquote>
<p>Wie macht man das eigentlich an einen Callback?<br />
typedef void _stdcall (*pointername)(parameter);<br />
und muss die Funktion auch eine<br />
void _stdcall name(para) sein?</p>
</blockquote>
<p>Ja.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1176045</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1176045</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 16 Nov 2006 15:43:35 GMT</pubDate></item></channel></rss>