<?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[DLL und call convention]]></title><description><![CDATA[<p>Hallo zusammen!</p>
<p>Ich hab mal gehört, man kann Klassen in DLLs nur mit verschiedenen C++-Compilern benutzen, wenn man sich an irgendwelche &quot;calling conventions&quot; hält. Ich hab da gar keine Ahnung und würde mich über einen Hinweis freuen, nach was ich denn suchen muss!</p>
<p>Die Problemstellung bei mir ist: Ich habe eine DLL mit einem Compiler geschrieben, aber will das auch anderen bei uns zur Verfügung stellen. Manche nutzen den VC++, manche DevC++, etc...</p>
<p>Vielen Dank für Eure Hilfe!!</p>
<p>Gruß,</p>
<p>Tobias</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/124191/dll-und-call-convention</link><generator>RSS for Node</generator><lastBuildDate>Sun, 23 Aug 2026 21:04:17 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/124191.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Oct 2005 17:07:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DLL und call convention on Mon, 24 Oct 2005 17:07:03 GMT]]></title><description><![CDATA[<p>Hallo zusammen!</p>
<p>Ich hab mal gehört, man kann Klassen in DLLs nur mit verschiedenen C++-Compilern benutzen, wenn man sich an irgendwelche &quot;calling conventions&quot; hält. Ich hab da gar keine Ahnung und würde mich über einen Hinweis freuen, nach was ich denn suchen muss!</p>
<p>Die Problemstellung bei mir ist: Ich habe eine DLL mit einem Compiler geschrieben, aber will das auch anderen bei uns zur Verfügung stellen. Manche nutzen den VC++, manche DevC++, etc...</p>
<p>Vielen Dank für Eure Hilfe!!</p>
<p>Gruß,</p>
<p>Tobias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/900232</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/900232</guid><dc:creator><![CDATA[tobis79211]]></dc:creator><pubDate>Mon, 24 Oct 2005 17:07:03 GMT</pubDate></item><item><title><![CDATA[Reply to DLL und call convention on Mon, 24 Oct 2005 17:34:07 GMT]]></title><description><![CDATA[<p>Das funktioniert generell nur, wenn beide Seiten mit dem gleichen Compiler gebaut wurden. Mir fällt zumindest keine Konstellation ein, wo es funktioniert.</p>
<p>Also: (!= verwende ich hier für &quot;verträgt sich nicht&quot;)</p>
<p>VC++ != BCB<br />
gcc != VC++<br />
VC++6 != VC++7<br />
gcc 3 != gcc 2<br />
gcc 3.4 != gcc 3.3<br />
gcc 4 != gcc 3</p>
<p>usw.</p>
<p>Man muss sich außerdem Gedanken darüber machen, wie der Heap der DLL verwaltet wird. So kann man z.B. nicht ohne weiteres in der DLL new aufrufen und außerhalb der DLL das dazugehörige delete.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/900264</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/900264</guid><dc:creator><![CDATA[Ringding]]></dc:creator><pubDate>Mon, 24 Oct 2005 17:34:07 GMT</pubDate></item><item><title><![CDATA[Reply to DLL und call convention on Mon, 24 Oct 2005 17:44:08 GMT]]></title><description><![CDATA[<p>Ringding schrieb:</p>
<blockquote>
<p>gcc 4 != gcc 3</p>
</blockquote>
<p>Schade, aber es ist so ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/900273</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/900273</guid><dc:creator><![CDATA[moe szyslak]]></dc:creator><pubDate>Mon, 24 Oct 2005 17:44:08 GMT</pubDate></item><item><title><![CDATA[Reply to DLL und call convention on Tue, 25 Oct 2005 06:12:56 GMT]]></title><description><![CDATA[<p>Ringding schrieb:</p>
<blockquote>
<p>Das funktioniert generell nur, wenn beide Seiten mit dem gleichen Compiler gebaut wurden. Mir fällt zumindest keine Konstellation ein, wo es funktioniert.</p>
</blockquote>
<p>Hm würd ich mal nicht sagen. Du musst halt schauen, wie due Aufrufkonvention ist. stdcall, PASCAL und was es da noch gibt. Google mal ein bisschen dann findest sicher genaueres <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/900529</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/900529</guid><dc:creator><![CDATA[Pellaeon]]></dc:creator><pubDate>Tue, 25 Oct 2005 06:12:56 GMT</pubDate></item><item><title><![CDATA[Reply to DLL und call convention on Tue, 25 Oct 2005 18:41:55 GMT]]></title><description><![CDATA[<p>Nenn mir ein Beispiel, wo es funktioniert.</p>
<p>EDIT: Gut, mir fällt grad eins ein: C++Builder / Delphi. Aber das auch nur, weil Borland sich nicht die Mühe machen wollte, die VCL parallel in Delphi und in C++ zu implementieren. Somit ist ihnen nix anderes übriggeblieben, als die beiden irgendwie kompatibel zu machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/900627</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/900627</guid><dc:creator><![CDATA[Ringding]]></dc:creator><pubDate>Tue, 25 Oct 2005 18:41:55 GMT</pubDate></item><item><title><![CDATA[Reply to DLL und call convention on Tue, 25 Oct 2005 19:07:35 GMT]]></title><description><![CDATA[<p>Warum kann delphi oder Borland Builder dann Windows-DLLs benutzen? Glaube kaum das Windows mit diesen Produkten erstellt wurde ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/900638</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/900638</guid><dc:creator><![CDATA[Pellaeon]]></dc:creator><pubDate>Tue, 25 Oct 2005 19:07:35 GMT</pubDate></item><item><title><![CDATA[Reply to DLL und call convention on Tue, 25 Oct 2005 19:09:48 GMT]]></title><description><![CDATA[<p>Hier geht's um Klassen in DLLs, nicht um DLLs an sich.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/900642</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/900642</guid><dc:creator><![CDATA[Ringding]]></dc:creator><pubDate>Tue, 25 Oct 2005 19:09:48 GMT</pubDate></item><item><title><![CDATA[Reply to DLL und call convention on Tue, 25 Oct 2005 19:12:34 GMT]]></title><description><![CDATA[<p>hum also ergo is das keine Standard-DLL ja?<br />
dann geht das natürlich nicht, jo hast recht</p>
]]></description><link>https://www.c-plusplus.net/forum/post/900644</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/900644</guid><dc:creator><![CDATA[Pellaeon]]></dc:creator><pubDate>Tue, 25 Oct 2005 19:12:34 GMT</pubDate></item><item><title><![CDATA[Reply to DLL und call convention on Tue, 25 Oct 2005 19:14:25 GMT]]></title><description><![CDATA[<p>Hallo zusammen!</p>
<p>Danke für die Antworten... ich werd mich mal nach diesem stdcall umsehen... und wenn es eh nicht geht, was anderes überlegen!</p>
<p>Gruß, Tobias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/900646</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/900646</guid><dc:creator><![CDATA[tobis79211]]></dc:creator><pubDate>Tue, 25 Oct 2005 19:14:25 GMT</pubDate></item></channel></rss>