<?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[unsigned char Array von vc++ Dll an vb übergeben]]></title><description><![CDATA[<p>Hallo,</p>
<p>c++ dll - Funktion</p>
<pre><code class="language-cpp">void test(unsigned char *pBytes)
{
    pBytes = new unsigned char[5];

    pBytes[0] = 1;
    pBytes[1] = 2;
    pBytes[2] = 3;
    pBytes[3] = 4;
    pBytes[4] = 5;
}
</code></pre>
<p>vb6 Funktion<br />
private function meinefunction(byVal pBytes as Byte)</p>
<p>...</p>
<p>end function</p>
<p>Kann mir jemmand sagen was ich falsch mache?<br />
Oder wie ich es am besten mache ?</p>
<p>Gruß Ronny</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/70485/unsigned-char-array-von-vc-dll-an-vb-übergeben</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 03:49:46 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/70485.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Apr 2004 08:33:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to unsigned char Array von vc++ Dll an vb übergeben on Thu, 08 Apr 2004 08:33:55 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>c++ dll - Funktion</p>
<pre><code class="language-cpp">void test(unsigned char *pBytes)
{
    pBytes = new unsigned char[5];

    pBytes[0] = 1;
    pBytes[1] = 2;
    pBytes[2] = 3;
    pBytes[3] = 4;
    pBytes[4] = 5;
}
</code></pre>
<p>vb6 Funktion<br />
private function meinefunction(byVal pBytes as Byte)</p>
<p>...</p>
<p>end function</p>
<p>Kann mir jemmand sagen was ich falsch mache?<br />
Oder wie ich es am besten mache ?</p>
<p>Gruß Ronny</p>
]]></description><link>https://www.c-plusplus.net/forum/post/497376</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/497376</guid><dc:creator><![CDATA[Ronny W]]></dc:creator><pubDate>Thu, 08 Apr 2004 08:33:55 GMT</pubDate></item><item><title><![CDATA[Reply to unsigned char Array von vc++ Dll an vb übergeben on Thu, 08 Apr 2004 10:41:24 GMT]]></title><description><![CDATA[<p>Ich hoffe ihr könnte mir jetzt helfen!</p>
<p>vc++6 dll<br />
void test(unsigned char *pBytes)<br />
{<br />
pBytes = new unsigned char[5];</p>
<p>pBytes[0] = 1;<br />
pBytes[1] = 2;<br />
pBytes[2] = 3;<br />
pBytes[3] = 4;<br />
pBytes[4] = 5;<br />
}</p>
<p>vb6<br />
private declare function test lib &quot;test.dll&quot; (ByRef Bytes as Byte)</p>
<p>private function meinefunction()</p>
<p>Dim Bytes() as Byte</p>
<p>Call test(Bytes)</p>
<p>end function</p>
<p>Kann mir jemmand sagen was ich falsch mache?<br />
Oder wie ich es am besten mache ?</p>
<p>Gruß Ronny</p>
]]></description><link>https://www.c-plusplus.net/forum/post/497467</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/497467</guid><dc:creator><![CDATA[Ronny W]]></dc:creator><pubDate>Thu, 08 Apr 2004 10:41:24 GMT</pubDate></item></channel></rss>