<?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[probleme beim ansteuern einer dll]]></title><description><![CDATA[<p>hallo vielleicht kann mir einer von euch helfen</p>
<p>ich habe eine dll mit der ich arbeiten muss/will/soll</p>
<p>dieser erhaellt einige strings beim über geben dieser strings muss ich hierbei auf irgendwas achten??? größe, stringlänge o.s.</p>
<p>ich bekomme folgende fehler meldung 0xC0000005: Access Violation.</p>
<p>noch ein bisschen details:</p>
<pre><code>typedef int (*funktionsname)(LPTSTR,LPTSTR,LPTSTR,int,int,int,int,int,int,int,int,int,int,LPTSTR);
funktionsname ProcAdd;
hinstLib = LoadLibrary(TEXT(&quot;dll&quot;));
ProcAdd = (funktionsname) GetProcAddress(hinstLib,&quot;dll-funktion&quot;);

ProcAdd(&quot;A&quot;,&quot;1&quot;, &quot;6&quot;,320,30,950,100,0,0,0,0,0,1,&quot;b&quot;);
</code></pre>
<p>das sind jetzt mal die wichtigsten zeilen</p>
<p>sollte doch eigneltich funktionieren oder</p>
<p>grüsse mefisto</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/159820/probleme-beim-ansteuern-einer-dll</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 13:38:43 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/159820.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Sep 2006 10:25:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to probleme beim ansteuern einer dll on Tue, 19 Sep 2006 10:25:58 GMT]]></title><description><![CDATA[<p>hallo vielleicht kann mir einer von euch helfen</p>
<p>ich habe eine dll mit der ich arbeiten muss/will/soll</p>
<p>dieser erhaellt einige strings beim über geben dieser strings muss ich hierbei auf irgendwas achten??? größe, stringlänge o.s.</p>
<p>ich bekomme folgende fehler meldung 0xC0000005: Access Violation.</p>
<p>noch ein bisschen details:</p>
<pre><code>typedef int (*funktionsname)(LPTSTR,LPTSTR,LPTSTR,int,int,int,int,int,int,int,int,int,int,LPTSTR);
funktionsname ProcAdd;
hinstLib = LoadLibrary(TEXT(&quot;dll&quot;));
ProcAdd = (funktionsname) GetProcAddress(hinstLib,&quot;dll-funktion&quot;);

ProcAdd(&quot;A&quot;,&quot;1&quot;, &quot;6&quot;,320,30,950,100,0,0,0,0,0,1,&quot;b&quot;);
</code></pre>
<p>das sind jetzt mal die wichtigsten zeilen</p>
<p>sollte doch eigneltich funktionieren oder</p>
<p>grüsse mefisto</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1140229</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1140229</guid><dc:creator><![CDATA[mefisto]]></dc:creator><pubDate>Tue, 19 Sep 2006 10:25:58 GMT</pubDate></item><item><title><![CDATA[Reply to probleme beim ansteuern einer dll on Tue, 19 Sep 2006 10:27:41 GMT]]></title><description><![CDATA[<p>check mal die rückgabewerte von 'LoadLibrary()' und 'GetProcAddress()'. darf keiner NULL sein...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1140230</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1140230</guid><dc:creator><![CDATA[net 0]]></dc:creator><pubDate>Tue, 19 Sep 2006 10:27:41 GMT</pubDate></item><item><title><![CDATA[Reply to probleme beim ansteuern einer dll on Tue, 19 Sep 2006 11:26:36 GMT]]></title><description><![CDATA[<p>net schrieb:</p>
<blockquote>
<p>check mal die rückgabewerte von 'LoadLibrary()' und 'GetProcAddress()'. darf keiner NULL sein...</p>
</blockquote>
<p>jo klar ich hab nur das wichtigste gepostet dort wo ich den fehler vermute</p>
<p>aber die dll ist geladen und ich kann auch eine andere dll funktion aufrufen und erhalte eine rueckgabe von dieser nur bei der funktion mit den 14 parametern da hakts^^<br />
und ich weis nicht warum</p>
<p>grüsse!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1140277</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1140277</guid><dc:creator><![CDATA[mefisto]]></dc:creator><pubDate>Tue, 19 Sep 2006 11:26:36 GMT</pubDate></item><item><title><![CDATA[Reply to probleme beim ansteuern einer dll on Tue, 19 Sep 2006 13:50:49 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=13512" rel="nofollow">c.rackwitz</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=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/1140407</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1140407</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 19 Sep 2006 13:50:49 GMT</pubDate></item><item><title><![CDATA[Reply to probleme beim ansteuern einer dll on Tue, 19 Sep 2006 14:20:03 GMT]]></title><description><![CDATA[<p>In welchem Modul tritt denn die Speicherzugriffsverletzung auf ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1140451</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1140451</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Tue, 19 Sep 2006 14:20:03 GMT</pubDate></item><item><title><![CDATA[Reply to probleme beim ansteuern einer dll on Wed, 20 Sep 2006 09:11:31 GMT]]></title><description><![CDATA[<p>Da du keine strings sondern Pointer auf solche übergibst, würde ich vorher mal prüfen pob die LPTSTRs != NULL sind.</p>
<p>Sonst hast du die allseits beliebt NULL Pointer Dereferenzierung <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/1140923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1140923</guid><dc:creator><![CDATA[Daveorn]]></dc:creator><pubDate>Wed, 20 Sep 2006 09:11:31 GMT</pubDate></item></channel></rss>