<?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 dynamisch laden]]></title><description><![CDATA[<p>Wie kann die Anzahl an dll dateien dynamisch in ein Programm laden?</p>
<p>wie ich eine bestimmte anzahl an dlls laden kann weiss ich.<br />
aber da muss ich auch wissen welche funktion in welche dll ist.</p>
<p>kennt ihr MirandaIM? da ist das so das sobald man eine dll in den pluginordner kopiert, sie erkannt wird und ihre funktionen benutzt werden.</p>
<p>aber wie geht sowas? vom prinzip her... weiss das jemand?</p>
<p>Also ich will :</p>
<p>Ein programm... soll x dlls laden und deren funktionen benuten.</p>
<p>Problem ist das das programm nicht genau weiss wieviele dlls geladen werden müssen und welche funktionen sie enthalten.</p>
<p>naja wie bei MirandaIM ...</p>
<p>lol also wenn ihr das nicht so verstanden habt versuch ich es später nochmal... ausführlich <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>thx</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/111862/dll-dynamisch-laden</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 04:33:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/111862.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Jun 2005 04:27:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DLL dynamisch laden on Mon, 06 Jun 2005 04:27:55 GMT]]></title><description><![CDATA[<p>Wie kann die Anzahl an dll dateien dynamisch in ein Programm laden?</p>
<p>wie ich eine bestimmte anzahl an dlls laden kann weiss ich.<br />
aber da muss ich auch wissen welche funktion in welche dll ist.</p>
<p>kennt ihr MirandaIM? da ist das so das sobald man eine dll in den pluginordner kopiert, sie erkannt wird und ihre funktionen benutzt werden.</p>
<p>aber wie geht sowas? vom prinzip her... weiss das jemand?</p>
<p>Also ich will :</p>
<p>Ein programm... soll x dlls laden und deren funktionen benuten.</p>
<p>Problem ist das das programm nicht genau weiss wieviele dlls geladen werden müssen und welche funktionen sie enthalten.</p>
<p>naja wie bei MirandaIM ...</p>
<p>lol also wenn ihr das nicht so verstanden habt versuch ich es später nochmal... ausführlich <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>thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/803196</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/803196</guid><dc:creator><![CDATA[MrFrage]]></dc:creator><pubDate>Mon, 06 Jun 2005 04:27:55 GMT</pubDate></item><item><title><![CDATA[Reply to DLL dynamisch laden on Mon, 06 Jun 2005 04:36:24 GMT]]></title><description><![CDATA[<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-110527-and-highlight-is-.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-110527-and-highlight-is-.html</a></p>
<p>der obere link ist ein beispiel (zwar in delphi aber lässt sich ja machen)</p>
<p>und der untere ist die spezifikation wo alles drin steht zu exe und dll und wie du an exportierte funktionen kommst!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/803197</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/803197</guid><dc:creator><![CDATA[OSX]]></dc:creator><pubDate>Mon, 06 Jun 2005 04:36:24 GMT</pubDate></item><item><title><![CDATA[Reply to DLL dynamisch laden on Mon, 06 Jun 2005 04:43:18 GMT]]></title><description><![CDATA[<p>danke werde ich mal testen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/803201</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/803201</guid><dc:creator><![CDATA[MrFrage]]></dc:creator><pubDate>Mon, 06 Jun 2005 04:43:18 GMT</pubDate></item><item><title><![CDATA[Reply to DLL dynamisch laden on Mon, 06 Jun 2005 23:04:13 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;windows.h&gt;

HMODULE dll;
LPVOID  func;

SetDllDirectory(&quot;IrgendEinSuchverzeichnis;NochEinSuchverzeichnis&quot;);
dll=LoadLibrary(&quot;IrgendEine.dll&quot;);
func=GetProcAddress(dll,&quot;IrgendEineFunc&quot;);
FreeLibrary(dll);
</code></pre>
<p>The SetDllDirectory function affects all subsequent calls to the LoadLibrary and LoadLibraryEx functions. After calling SetDllDirectory, the DLL search path is:</p>
<p>The directory from which the application loaded.<br />
The directory specified by the lpPathName parameter.<br />
The system directory. Use the GetSystemDirectory function to get the path of this directory. The name of this directory is System32.<br />
The 16-bit system directory. There is no function that obtains the path of this directory, but it is searched. The name of this directory is System.<br />
The Windows directory. Use the GetWindowsDirectory function to get the path of this directory.<br />
The directories that are listed in the PATH environment variable.</p>
<p>To revert to the default search path used by LoadLibrary and LoadLibraryEx, call SetDllDirectory with NULL.</p>
<p>EDIT<br />
der aufruf von SetDllDirectory() ist nicht unbedingt nötig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/804009</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/804009</guid><dc:creator><![CDATA[Konfusius]]></dc:creator><pubDate>Mon, 06 Jun 2005 23:04:13 GMT</pubDate></item><item><title><![CDATA[Reply to DLL dynamisch laden on Mon, 06 Jun 2005 23:10:47 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> erst lesen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
<blockquote>
<p>wie ich eine bestimmte anzahl an dlls laden kann weiss ich.<br />
aber da muss ich auch wissen welche funktion in welche dll ist.</p>
</blockquote>
<p>hmmm</p>
<blockquote>
<p>Also ich will :</p>
<p>Ein programm... soll x dlls laden und deren funktionen benuten.</p>
<p>Problem ist das das programm nicht genau weiss wieviele dlls geladen werden müssen und welche funktionen sie enthalten.</p>
</blockquote>
<p>also will er wisse wie er an die liste exportierter funktionen kommt die eine oder mehrere dll`s enthalten. <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>
]]></description><link>https://www.c-plusplus.net/forum/post/804013</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/804013</guid><dc:creator><![CDATA[OSX]]></dc:creator><pubDate>Mon, 06 Jun 2005 23:10:47 GMT</pubDate></item><item><title><![CDATA[Reply to DLL dynamisch laden on Tue, 07 Jun 2005 08:59:13 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=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</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/804135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/804135</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 07 Jun 2005 08:59:13 GMT</pubDate></item><item><title><![CDATA[Reply to DLL dynamisch laden on Tue, 07 Jun 2005 15:17:50 GMT]]></title><description><![CDATA[<p>MrFrage schrieb:</p>
<blockquote>
<p>Problem ist das das programm nicht genau weiss wieviele dlls geladen werden müssen</p>
</blockquote>
<p>Du könntest mit FindFirstFile &amp; Co. (siehe FAQ) das Verzeichnis nach DLLs durchforsten.</p>
<p>MrFrage schrieb:</p>
<blockquote>
<p>... und welche funktionen sie enthalten.</p>
</blockquote>
<p>Das könnte über <a href="http://msdn.microsoft.com/library/en-us/debug/base/imagedirectoryentrytodata.asp" rel="nofollow">ImageDirectoryEntryToData</a> - zumindest macht Jeffrey Richter damit so etwas in der Art Importabschnitt einer DLL auf vorhandensein best. Funktionen testen) Die Parameter musst du aber afaik selber wissen - also du bekommst glaub' nur die Namen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/804445</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/804445</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Tue, 07 Jun 2005 15:17:50 GMT</pubDate></item></channel></rss>