<?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 export?]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich möchte eine DLL in C++ schreiben und von Delphi einbinden lassen.</p>
<p>Da ich keine Strings als return von Delphi annehmen kann gebe ich als Return int und übergebe den String als Paramenter.</p>
<p>C++</p>
<pre><code class="language-cpp">extern &quot;C&quot; int __stdcall _export myfunction(char* Input1, char* Input12, char* Output1, char *Output2);

Output1=MyAnsiString.c_str();
</code></pre>
<p>Delphi</p>
<pre><code>var myfunction: function(Input1: String; Input2: String; Output1: String; Output2: String):integer; stdcall;
</code></pre>
<p>Das funktioniet nur nicht!</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/185916/dll-export</link><generator>RSS for Node</generator><lastBuildDate>Thu, 02 Jul 2026 02:11:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/185916.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Jul 2007 20:37:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DLL export? on Mon, 02 Jul 2007 20:39:50 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich möchte eine DLL in C++ schreiben und von Delphi einbinden lassen.</p>
<p>Da ich keine Strings als return von Delphi annehmen kann gebe ich als Return int und übergebe den String als Paramenter.</p>
<p>C++</p>
<pre><code class="language-cpp">extern &quot;C&quot; int __stdcall _export myfunction(char* Input1, char* Input12, char* Output1, char *Output2);

Output1=MyAnsiString.c_str();
</code></pre>
<p>Delphi</p>
<pre><code>var myfunction: function(Input1: String; Input2: String; Output1: String; Output2: String):integer; stdcall;
</code></pre>
<p>Das funktioniet nur nicht!</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1317173</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1317173</guid><dc:creator><![CDATA[Sascha999999999]]></dc:creator><pubDate>Mon, 02 Jul 2007 20:39:50 GMT</pubDate></item><item><title><![CDATA[Reply to DLL export? on Mon, 02 Jul 2007 20:51:17 GMT]]></title><description><![CDATA[<p>Du wirst wohl auch in Delphi CStyle - Strings verwenden müssen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1317182</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1317182</guid><dc:creator><![CDATA[darthdespotism]]></dc:creator><pubDate>Mon, 02 Jul 2007 20:51:17 GMT</pubDate></item><item><title><![CDATA[Reply to DLL export? on Mon, 02 Jul 2007 21:02:57 GMT]]></title><description><![CDATA[<p>meinst du PChar?</p>
<p>hab ich gerade probiert, kein erfolg!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1317193</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1317193</guid><dc:creator><![CDATA[Sascha999999999]]></dc:creator><pubDate>Mon, 02 Jul 2007 21:02:57 GMT</pubDate></item><item><title><![CDATA[Reply to DLL export? on Tue, 03 Jul 2007 10:54:36 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-403.html" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-8.html" rel="nofollow">Rund um die Programmierung</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1317407</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1317407</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 03 Jul 2007 10:54:36 GMT</pubDate></item></channel></rss>