<?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[Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import]]></title><description><![CDATA[<p>Hallo,</p>
<p>war schwierig nen gescheiten Titel hier zu finden ...</p>
<p>Also ich habe ein C#-Programm, in das ich eine C++-DLL einbette (im Folgenden &quot;mittlere DLL&quot;). Von beiden kann ich auch den code ändern und anpassen.<br />
Über die eingebettete DLL importiere ich allerdings dann noch eine C++-Dll, an deren Code ich nichts verändern kann sondern lediglich den Code besitze.</p>
<p>Die Interaktion zwischen C# und C++-Dll funktioniert super. Nun möchte ich jedoch aus der unveränderbaren DLL eine Funktion in meiner &quot;mittleren&quot; DLL aufrufen. Dazu habe ich folgenden Code:</p>
<pre><code class="language-cpp">void TestApiFunction()
{
	typedef void(__stdcall *DUMMY_TYPEDEF)();

	DUMMY_TYPEDEF TestFct = (DUMMY_TYPEDEF) GetProcAddress(GetModuleHandle(NULL), &quot;CheckIfApiWorks&quot;);
	if(!TestFct)
		return;

	TestFct();
}
</code></pre>
<p>Und das ganze funktioniert leider nicht ... &quot;CheckIfApiWorks&quot; ist auch in der entsprechenden &quot;mittleren&quot; DLL exportiert, lässt sich über C# auch ansprechen. Also an deren Code liegts nicht.</p>
<p>Ich kann mir fast denken, dass es was mit GetModuleHandle(NULL) zutun hat. Weil ich hab mal alle verschiedenen Handles mal ausgeben lassen (von Programm, &quot;mittlerer&quot; Dll usw) und alle waren verschieden. Doch an dem geschriebenen Code kann ich nix verändern ... leider.</p>
<p>Ich hoffe es liegt nun an dem Code der &quot;mittleren&quot; DLL, mit der ich die unveränderbare DLL importiere:</p>
<pre><code class="language-cpp">HINSTANCE hDLL;               // Handle to DLL
	LPFNDLLFUNC1 lpfnDllFunc1;    // Function pointer
	DWORD dwParam1;
	UINT  uParam2, uReturnVal;

	hDLL = LoadLibrary(_dllFn);

	if (hDLL != NULL)
	{
	   lpfnDllFunc1 = (LPFNDLLFUNC1)GetProcAddress(hDLL, &quot;OnTest&quot;);
	   if (!lpfnDllFunc1)
	   {
		  // handle the error
		  FreeLibrary(hDLL);       
		  return false;
	   }
	   else
	   {
		  // call the function
		  lpfnDllFunc1();

		  return true;
	   }
	}
</code></pre>
<p>Trotz der verwirrenden DLL-Bezeichnungen, habt ihr eine Idee wie ich das lösen könnte? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>Bin für jeden Tip dankbar! <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>
<p>MfG</p>
<p>Sebastian Müller</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/223755/interaktion-programm-lt-gt-dll-import-lt-dll-import</link><generator>RSS for Node</generator><lastBuildDate>Sat, 03 Oct 2026 12:18:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/223755.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 30 Sep 2008 15:49:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Tue, 30 Sep 2008 15:49:11 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>war schwierig nen gescheiten Titel hier zu finden ...</p>
<p>Also ich habe ein C#-Programm, in das ich eine C++-DLL einbette (im Folgenden &quot;mittlere DLL&quot;). Von beiden kann ich auch den code ändern und anpassen.<br />
Über die eingebettete DLL importiere ich allerdings dann noch eine C++-Dll, an deren Code ich nichts verändern kann sondern lediglich den Code besitze.</p>
<p>Die Interaktion zwischen C# und C++-Dll funktioniert super. Nun möchte ich jedoch aus der unveränderbaren DLL eine Funktion in meiner &quot;mittleren&quot; DLL aufrufen. Dazu habe ich folgenden Code:</p>
<pre><code class="language-cpp">void TestApiFunction()
{
	typedef void(__stdcall *DUMMY_TYPEDEF)();

	DUMMY_TYPEDEF TestFct = (DUMMY_TYPEDEF) GetProcAddress(GetModuleHandle(NULL), &quot;CheckIfApiWorks&quot;);
	if(!TestFct)
		return;

	TestFct();
}
</code></pre>
<p>Und das ganze funktioniert leider nicht ... &quot;CheckIfApiWorks&quot; ist auch in der entsprechenden &quot;mittleren&quot; DLL exportiert, lässt sich über C# auch ansprechen. Also an deren Code liegts nicht.</p>
<p>Ich kann mir fast denken, dass es was mit GetModuleHandle(NULL) zutun hat. Weil ich hab mal alle verschiedenen Handles mal ausgeben lassen (von Programm, &quot;mittlerer&quot; Dll usw) und alle waren verschieden. Doch an dem geschriebenen Code kann ich nix verändern ... leider.</p>
<p>Ich hoffe es liegt nun an dem Code der &quot;mittleren&quot; DLL, mit der ich die unveränderbare DLL importiere:</p>
<pre><code class="language-cpp">HINSTANCE hDLL;               // Handle to DLL
	LPFNDLLFUNC1 lpfnDllFunc1;    // Function pointer
	DWORD dwParam1;
	UINT  uParam2, uReturnVal;

	hDLL = LoadLibrary(_dllFn);

	if (hDLL != NULL)
	{
	   lpfnDllFunc1 = (LPFNDLLFUNC1)GetProcAddress(hDLL, &quot;OnTest&quot;);
	   if (!lpfnDllFunc1)
	   {
		  // handle the error
		  FreeLibrary(hDLL);       
		  return false;
	   }
	   else
	   {
		  // call the function
		  lpfnDllFunc1();

		  return true;
	   }
	}
</code></pre>
<p>Trotz der verwirrenden DLL-Bezeichnungen, habt ihr eine Idee wie ich das lösen könnte? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>Bin für jeden Tip dankbar! <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>
<p>MfG</p>
<p>Sebastian Müller</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591005</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591005</guid><dc:creator><![CDATA[sibbl]]></dc:creator><pubDate>Tue, 30 Sep 2008 15:49:11 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Tue, 30 Sep 2008 17:23:32 GMT]]></title><description><![CDATA[<p>Bau doch mal Traces ein um zu sehen, wie weit du kommst.<br />
Simon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591069</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591069</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Tue, 30 Sep 2008 17:23:32 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Tue, 30 Sep 2008 17:32:23 GMT]]></title><description><![CDATA[<p>Hm habs jetzt mal schnell probiert, also anscheinend findet er die ProcAdress meiner Funktion in der &quot;mittleren&quot; DLL nicht.</p>
<p>D.h. er beendet die Funktion, da er TestFct nicht gefunden hat bei:</p>
<pre><code class="language-cpp">DUMMY_TYPEDEF TestFct = (DUMMY_TYPEDEF) GetProcAddress(GetModuleHandle(NULL), &quot;CheckIfApiWorks&quot;);
if(!TestFct)
        return;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1591074</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591074</guid><dc:creator><![CDATA[sibbl]]></dc:creator><pubDate>Tue, 30 Sep 2008 17:32:23 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 06:11:52 GMT]]></title><description><![CDATA[<p>Ich würde den Dependecy Walker nehmen und schauen, ob CheckIfApiWorks wirklich exportiert ist.<br />
Simon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591212</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591212</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Wed, 01 Oct 2008 06:11:52 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 12:27:31 GMT]]></title><description><![CDATA[<p>ja, hab eben geschaut: ist exportiert ... wie gesagt, ich kann die Funktion auch aus c# aufrufen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591468</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591468</guid><dc:creator><![CDATA[sibbl]]></dc:creator><pubDate>Wed, 01 Oct 2008 12:27:31 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 13:16:50 GMT]]></title><description><![CDATA[<p>Ich verstehe nicht, warum Du mit GetModuleHandle(..) herumhantierst.<br />
Warum nicht auch Load/Free Library?<br />
Ist die DLL schon geladen (weil dazu gelinkt)?</p>
<p>Ev. hilfts das:<br />
<a href="http://blog.m-ri.de/index.php/2007/12/12/die-unsitte-immer-getmodulehandlenull-fuer-hinstance-in-createwindow-und-registerclass-zu-verwenden/" rel="nofollow">http://blog.m-ri.de/index.php/2007/12/12/die-unsitte-immer-getmodulehandlenull-fuer-hinstance-in-createwindow-und-registerclass-zu-verwenden/</a></p>
<p>Simon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591493</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591493</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Wed, 01 Oct 2008 13:16:50 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 14:39:57 GMT]]></title><description><![CDATA[<p>naja ich will ja nicht noch einen neuen DLL-Handle erstellen, sondern einfach in der geladenen &quot;mittleren&quot; DLL, die der unveränderbaren übergeordnet ist, eine Funktion aufrufen...</p>
<p>Und wie gesagt kann ich an dem Code mit dem GetModuleHandle(NULL) nichts verändern <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="😞"
    /> Der ist nicht von mir, die DLL bekomme ich - habe nur einen Codeauszug bekommen</p>
<p>edit: hab jetzt eben mal ne kleine Konsolenanwendung geschrieben. Implementiere ich dort den selben Code, mit dem ich die unveränderbare DLL oben importiere, dann funktioniert es. Also scheint das GetModuleHandle(NULL) blos nicht das richtige Handle zur &quot;mittleren&quot; DLL zu finden ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591535</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591535</guid><dc:creator><![CDATA[sibbl]]></dc:creator><pubDate>Wed, 01 Oct 2008 14:39:57 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 14:47:13 GMT]]></title><description><![CDATA[<p>Verstehe langsam dein Problem.<br />
Was mich stutzig macht ist wozu das gut sein soll (GetModuleHandle(NULL)), das kann ja nicht funktionieren.</p>
<p>Simon</p>
<p>BTW: Ev. könnte mal ein Moderator diesen Thread ins WinAPI Forum evrschieben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591556</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591556</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Wed, 01 Oct 2008 14:47:13 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 15:05:58 GMT]]></title><description><![CDATA[<p>GetModuleHandle(NULL) holt eigentlich das Handle des Parent. D.h. es müsste theoretisch das Handle der &quot;mittleren&quot; DLL zurückgeben ... theoretisch <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>und sorry für falsche Sparte <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/1591573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591573</guid><dc:creator><![CDATA[sibbl]]></dc:creator><pubDate>Wed, 01 Oct 2008 15:05:58 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 15:13:39 GMT]]></title><description><![CDATA[<blockquote>
<p>GetModuleHandle(NULL) holt eigentlich das Handle des Parent.</p>
</blockquote>
<p>Ist mir ein wenig zu schwammig.</p>
<p>Hier:</p>
<p>msdn schrieb:</p>
<blockquote>
<p>If this parameter is NULL, GetModuleHandle returns a handle to the file used to create the calling process (.exe file).</p>
</blockquote>
<p>Simon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591582</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591582</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Wed, 01 Oct 2008 15:13:39 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 15:20:16 GMT]]></title><description><![CDATA[<p>hmpf ... d.h. es würde den Handle meines C#-Programms zurückgeben ... möcht ich ja nicht. Ich will ja nur über diese Zwischen-DLL eine Verbindung zwischen der unveränderbaren DLL und meinem C#-Programm aufbauen... D.h. die unveränderbare DLL ruft z.B. eine Funktion meines C#-Programmes auf. Dies geht nicht so ohne weiteres, deswegen hatte ich mir die Zwischen-Dll ausgedacht ...<br />
Hättest du ne andere Idee wie es gehen könnte? <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/1591584</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591584</guid><dc:creator><![CDATA[sibbl]]></dc:creator><pubDate>Wed, 01 Oct 2008 15:20:16 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 15:25:41 GMT]]></title><description><![CDATA[<p>Ich denke, das geht so nicht.<br />
Der Code mit GetModuleHandle(NULL) ist Müll.<br />
Simon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591587</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591587</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Wed, 01 Oct 2008 15:25:41 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 15:36:20 GMT]]></title><description><![CDATA[<p>naja gut ... da ich den nicht ändern kann wirds dann wohl nix werden. Muss ich das ganze mit C++ programmieren, da gehts <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/1591594</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591594</guid><dc:creator><![CDATA[sibbl]]></dc:creator><pubDate>Wed, 01 Oct 2008 15:36:20 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 16:25:08 GMT]]></title><description><![CDATA[<p>so? bei mir gings nicht mit C++...<br />
simon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591618</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591618</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Wed, 01 Oct 2008 16:25:08 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 17:12:31 GMT]]></title><description><![CDATA[<p>Ok habs <a href="http://www.messenger4u.de/upload/files/test.rar" rel="nofollow"><strong>hier mal als Beweis hochgeladen.</strong></a></p>
<p>Programm-Code:</p>
<pre><code class="language-cpp">int _tmain(int argc, _TCHAR* argv[])
{
	MessageBox(0, L&quot;Loading DLL + calling function&quot;, L&quot;main application&quot;, 0);
	HINSTANCE hDLL;               // Handle to DLL
	LPFNDLLFUNC1 lpfnDllFunc1;    // Function pointer
	DWORD dwParam1;
	UINT  uParam2, uReturnVal;

	hDLL = LoadLibrary(L&quot;SampleDocklet.dll&quot;);

	if (hDLL != NULL)
	{
	   lpfnDllFunc1 = (LPFNDLLFUNC1)GetProcAddress(hDLL, &quot;OnTest&quot;);
	   if (!lpfnDllFunc1)
	   {
		  // handle the error
		  FreeLibrary(hDLL);       
		  return false;
	   }
	   else
	   {
		  // call the function
		  lpfnDllFunc1();

		  return true;
	   }
	}
	Sleep(15000);
	return 0;
}

void CheckIfApiWorks() {
	MessageBox(0, L&quot;it worked&quot;, L&quot;main application&quot;, 0);
}
</code></pre>
<p>DLL-Code:</p>
<pre><code class="language-cpp">void CALLBACK OnTest() {
	MessageBox(0, &quot;now calling api function&quot;, &quot;from dll&quot;, 0);
	TestApiFunction();
}

void TestApiFunction()
{
	typedef void(__stdcall *DUMMY_TYPEDEF)();

	DUMMY_TYPEDEF TestFct = (DUMMY_TYPEDEF) GetProcAddress(GetModuleHandle(NULL), &quot;CheckIfApiWorks&quot;);
	if(!TestFct) {
		MessageBox(0, &quot;function not found!&quot;, &quot;from dll&quot;, 0);
		return;
	}
	MessageBox(0, &quot;function found!&quot;, &quot;from dll&quot;, 0);

	TestFct();
}
</code></pre>
<p>jeweils OnTest bzw CheckIfApiWorks exportiert <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/1591636</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591636</guid><dc:creator><![CDATA[sibbl]]></dc:creator><pubDate>Wed, 01 Oct 2008 17:12:31 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 17:19:44 GMT]]></title><description><![CDATA[<p>Aha, jetzt verstehe ich dein Setup.<br />
Ich verstehe jedoch den Sinn überhaupt nicht.<br />
Zu was soll das gut sein?<br />
Simon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591640</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591640</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Wed, 01 Oct 2008 17:19:44 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 17:23:04 GMT]]></title><description><![CDATA[<p>Das würde ja bedeuten, dass dein C# Programm die Funktion CheckIfApiWorks exportieren müsste. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/27a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--right_arrow"
      title=":arrow_right:"
      alt="➡"
    /> geht nicht...</p>
<p>Oder Du machst (gemäss deinem Ansatz) eine Zwischen - DLL die genau CheckIfApiWorks exportiert, was aber wiederum nicht funktioniert, weil, das mit Modul Handle nicht mehr stimmt.</p>
<p>Habe ich das korrekt verstanden?</p>
<p>Was möchtest Du eigentlich bezwecken?</p>
<p>Simon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591642</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591642</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Wed, 01 Oct 2008 17:23:04 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Wed, 01 Oct 2008 19:01:10 GMT]]></title><description><![CDATA[<blockquote>
<p>Oder Du machst (gemäss deinem Ansatz) eine Zwischen - DLL die genau CheckIfApiWorks exportiert, was aber wiederum nicht funktioniert, weil, das mit Modul Handle nicht mehr stimmt.</p>
</blockquote>
<p>korrekt. Ich möchte eine Verbindung zwischen der unveränderbaren DLL und meinem C#-Programm aufbauen. Beide sollen jeweils Funktionen des anderen ausführen können. In der zwischen-DLL ist es ja auch möglich eine C#-Funktion aufzurufen. Ich benötige nur noch die Verbindung zwischen &quot;mittlerer&quot; DLL und der unveränderbaren ...</p>
<p>(war anscheinend doch zu verwirrend mit den Bezeichnungen)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1591711</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1591711</guid><dc:creator><![CDATA[sibbl]]></dc:creator><pubDate>Wed, 01 Oct 2008 19:01:10 GMT</pubDate></item><item><title><![CDATA[Reply to Interaktion: Programm &amp;lt;-&amp;gt; DLL-Import &amp;lt;- DLL-Import on Fri, 03 Oct 2008 18:53:53 GMT]]></title><description><![CDATA[<p>also keine weiteren ideen ... schade</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1593115</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1593115</guid><dc:creator><![CDATA[sibbl]]></dc:creator><pubDate>Fri, 03 Oct 2008 18:53:53 GMT</pubDate></item></channel></rss>