<?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 einbinden]]></title><description><![CDATA[<p>Also ich weiß das dieses schon sehr oft gefragt wurde aber ich versteh da was nicht.<br />
Ich habe eine DLL mit codeblocks geschrieben. Die statische lib wird automatisch mitgeneriert. Die statische lib hab ich dem linker hinzu gefügt. Nun weiß ich das ich auch noch eine Header brauch. Was muß da drin stehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/140941/dll-einbinden</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 08:40:32 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/140941.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 Mar 2006 12:11:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DLL einbinden on Sat, 18 Mar 2006 12:11:34 GMT]]></title><description><![CDATA[<p>Also ich weiß das dieses schon sehr oft gefragt wurde aber ich versteh da was nicht.<br />
Ich habe eine DLL mit codeblocks geschrieben. Die statische lib wird automatisch mitgeneriert. Die statische lib hab ich dem linker hinzu gefügt. Nun weiß ich das ich auch noch eine Header brauch. Was muß da drin stehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1018925</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1018925</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Sat, 18 Mar 2006 12:11:34 GMT</pubDate></item><item><title><![CDATA[Reply to DLL einbinden on Sat, 18 Mar 2006 12:34:44 GMT]]></title><description><![CDATA[<p>Also ich hab festgestell es müsste eigentlich klappen aber er findet eine funktion<br />
nicht obwohl er diese aber anzeigt als mögliche funktion wenn man die klammer<br />
hinter einer funktion öffnet.<br />
also so</p>
<p>test(<br />
test(char test) // Das zeigt er an<br />
test(char test, int key) // und das</p>
<p>tippe ich dann das ein:</p>
<p>char t;</p>
<p>test(t);</p>
<p>Kommt ein fehler das es so eine funtion nicht gibt. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1018943</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1018943</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Sat, 18 Mar 2006 12:34:44 GMT</pubDate></item><item><title><![CDATA[Reply to DLL einbinden on Sat, 18 Mar 2006 12:55:19 GMT]]></title><description><![CDATA[<blockquote>
<p>Also ich hab festgestell es müsste eigentlich klappen aber er findet eine funktion<br />
nicht obwohl er diese aber anzeigt als mögliche funktion wenn man die klammer<br />
hinter einer funktion öffnet.</p>
</blockquote>
<p>was?</p>
<p>du inkludierst die header datei der dll in deinem projekt in dem du funktionen aus der dll nutzen willst, vorausgesetzt du hast deine header datei mit den entsprechenden ifdefs ausgestattet und definierst GDFGDF_EXPORTS wenn du die dll kompilierst</p>
<pre><code class="language-cpp">// The following ifdef block is the standard way of creating macros which make exporting 
// from a DLL simpler. All files within this DLL are compiled with the GDFGDF_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see 
// GDFGDF_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
#ifdef GDFGDF_EXPORTS
#define GDFGDF_API __declspec(dllexport)
#else
#define GDFGDF_API __declspec(dllimport)
#endif

// This class is exported from the gdfgdf.dll
class GDFGDF_API CGdfgdf {
public:
	CGdfgdf(void);
	// TODO: add your methods here.
};

extern GDFGDF_API int nGdfgdf;

GDFGDF_API int fnGdfgdf(void);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1018963</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1018963</guid><dc:creator><![CDATA[gsdvxcv]]></dc:creator><pubDate>Sat, 18 Mar 2006 12:55:19 GMT</pubDate></item><item><title><![CDATA[Reply to DLL einbinden on Sat, 18 Mar 2006 19:31:15 GMT]]></title><description><![CDATA[<p>Danke für die Antwort ich habs jetzt auch hingekriegt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1019270</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1019270</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Sat, 18 Mar 2006 19:31:15 GMT</pubDate></item></channel></rss>