<?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 erstellen]]></title><description><![CDATA[<p>Servus Leute,</p>
<p>ich versuche verkrampft aus einem bereits bestehendem C Code eine Dll zu erstellen!! Ich benutze den Borland C++ Builder! Hab zwar Möglichkeiten gefunden mit dem Builder dlls zu erstellen, aber irgendwie funzt das nicht so wirklich. Habt ihr einen Plan wie ich das am besten angehe?</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/165495/dll-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 20 Aug 2026 05:35:18 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/165495.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Nov 2006 14:11:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to dll erstellen on Mon, 20 Nov 2006 14:11:55 GMT]]></title><description><![CDATA[<p>Servus Leute,</p>
<p>ich versuche verkrampft aus einem bereits bestehendem C Code eine Dll zu erstellen!! Ich benutze den Borland C++ Builder! Hab zwar Möglichkeiten gefunden mit dem Builder dlls zu erstellen, aber irgendwie funzt das nicht so wirklich. Habt ihr einen Plan wie ich das am besten angehe?</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1177814</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1177814</guid><dc:creator><![CDATA[mee]]></dc:creator><pubDate>Mon, 20 Nov 2006 14:11:55 GMT</pubDate></item><item><title><![CDATA[Reply to dll erstellen on Thu, 23 Nov 2006 16:34:04 GMT]]></title><description><![CDATA[<p>Das hat nicht wirklich was mit ANSI C zu tun... Gehört eigentlich entweder ins WinAPI- oder ins Borland-Forum.</p>
<p>Außerdem wird dir <a href="http://www.google.de/search?hl=de&amp;q=DLL-Tutorial+C%2B%2B-Builder&amp;btnG=Google-Suche&amp;meta=" rel="nofollow">Google</a> auch weiterhelfen können...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1180167</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1180167</guid><dc:creator><![CDATA[Niklas Cathor]]></dc:creator><pubDate>Thu, 23 Nov 2006 16:34:04 GMT</pubDate></item><item><title><![CDATA[Reply to dll erstellen on Thu, 23 Nov 2006 17:29:03 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=14811" rel="nofollow">TactX</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=10" rel="nofollow">ANSI C</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=2" rel="nofollow">VCL/CLX (Borland C++ Builder)</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" 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/1180203</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1180203</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Thu, 23 Nov 2006 17:29:03 GMT</pubDate></item><item><title><![CDATA[Reply to dll erstellen on Thu, 23 Nov 2006 17:55:41 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Was genau geht denn nicht?<br />
&quot;Funzt nicht&quot; ist keine korrekte Fehlerbeschreibung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1180220</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1180220</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Thu, 23 Nov 2006 17:55:41 GMT</pubDate></item><item><title><![CDATA[Reply to dll erstellen on Mon, 10 Mar 2008 07:14:42 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich versuche mich gerade auch daran unter borland eine DLL zu erstellen.</p>
<p>da ja in diesem Thread nicht herausgekommen ist, versuch ich es mal.</p>
<p>also ich hab ein DLL projekt angelegt.</p>
<p>in der CPP datei hab ich jetzt folgendes rein geschrieben:</p>
<pre><code class="language-cpp">#include &lt;vcl.h&gt;
#include &lt;windows.h&gt;
#pragma hdrstop
//---------------------------------------------------------------------------
// Wichtiger Hinweis zur DLL-Speicherverwaltung, falls die DLL die statische
[...]
//---------------------------------------------------------------------------

#pragma argsused
int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void* lpReserved)
{
	return 1;
}

int meinetestfunktion(void)
{
    return 123;
}
</code></pre>
<p>Das Compilieren der datei und damit das erstellen der dll funktioniert damit auch.</p>
<p>damit ich daruf zugreifen kann hab ich eine h datei erstellt:</p>
<pre><code class="language-cpp">#ifndef File1H
#define File1H

#define EXPORTED __declspec(dllexport)

int EXPORTED meinetestfunktion(void);

#endif
</code></pre>
<p>jetzt hab ich mir ein normales Anwendungsprojekt angelegt dem ich die lib eingebunden hab und die dll hineinkopiert hab.</p>
<p>beim aufruf der funktion bekomm ich ich jetzt aber einen linker fehler:<br />
[ILINK32 Fehler] Error: Nicht aufl÷sbares externes 'meinetestfunktion()' referenziert von X:\[..]\MAIN.OBJ</p>
<p>was mach ich falsch? hab ich die funktion in der dll falsch oder ist der aufruf in der h datei falsch?</p>
<p>Danke schonmal</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1471245</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1471245</guid><dc:creator><![CDATA[JBOpael]]></dc:creator><pubDate>Mon, 10 Mar 2008 07:14:42 GMT</pubDate></item><item><title><![CDATA[Reply to dll erstellen on Mon, 10 Mar 2008 09:19:19 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Die Modifizierer in DLL und Projekt sind falsch. <a href="http://bcb-tutorial.c-plusplus.net/DLL_Tutorial/artikel3.html" rel="nofollow">Hier</a> kannst du lesen wie es richtig aussehen muß.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1471295</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1471295</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 10 Mar 2008 09:19:19 GMT</pubDate></item></channel></rss>