<?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[1D bzw 2D Array von VB.Net an C++]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich möchte ein 2D Array an eine C++ DLL übergeben. Meine Idee ist es, zunächst mein 2D Array in ein 1D Array in <a href="http://VB.Net" rel="nofollow">VB.Net</a> umzuwandeln, dieses dann an die C++ DLL zu übergeben und anschließend in der DLL aus dem 1D Array wieder ein 2D machen.</p>
<p>Ich weis allerdings nicht, wie man ein Array von <a href="http://VB.Net" rel="nofollow">VB.Net</a> an C++ übergibt.<br />
Ich kann bis jetzt nur immer einen bestimmten Wert eines Arrays übermitteln, aber nie das gesamte Array.</p>
<p>C++</p>
<pre><code class="language-cpp">double WINAPI testDLL(double* xKoordinaten_VB, int iDim){}
</code></pre>
<p><a href="http://VB.Net" rel="nofollow">VB.Net</a></p>
<pre><code class="language-cpp">Declare Function testDLL Lib &quot;X:\Praktikum\Diluk_Erweiterung\FLueVerDLL\MooreRukovenaDLL\Debug\MooreRukovenaDLL.dll&quot; Alias &quot;_testDLL@8&quot; ( _
ByRef xKoordinaten1D As Double, ByVal iDim As Long) As Double

test = testDLL(xKoordinaten1D(0), iDim)
</code></pre>
<p>Könnte eventuell jemand einen Beispielcode dafür angeben?</p>
<p>Vielen Dank im Voraus!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/290733/1d-bzw-2d-array-von-vb-net-an-c</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 11:39:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/290733.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Aug 2011 11:44:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 1D bzw 2D Array von VB.Net an C++ on Tue, 02 Aug 2011 11:46:09 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich möchte ein 2D Array an eine C++ DLL übergeben. Meine Idee ist es, zunächst mein 2D Array in ein 1D Array in <a href="http://VB.Net" rel="nofollow">VB.Net</a> umzuwandeln, dieses dann an die C++ DLL zu übergeben und anschließend in der DLL aus dem 1D Array wieder ein 2D machen.</p>
<p>Ich weis allerdings nicht, wie man ein Array von <a href="http://VB.Net" rel="nofollow">VB.Net</a> an C++ übergibt.<br />
Ich kann bis jetzt nur immer einen bestimmten Wert eines Arrays übermitteln, aber nie das gesamte Array.</p>
<p>C++</p>
<pre><code class="language-cpp">double WINAPI testDLL(double* xKoordinaten_VB, int iDim){}
</code></pre>
<p><a href="http://VB.Net" rel="nofollow">VB.Net</a></p>
<pre><code class="language-cpp">Declare Function testDLL Lib &quot;X:\Praktikum\Diluk_Erweiterung\FLueVerDLL\MooreRukovenaDLL\Debug\MooreRukovenaDLL.dll&quot; Alias &quot;_testDLL@8&quot; ( _
ByRef xKoordinaten1D As Double, ByVal iDim As Long) As Double

test = testDLL(xKoordinaten1D(0), iDim)
</code></pre>
<p>Könnte eventuell jemand einen Beispielcode dafür angeben?</p>
<p>Vielen Dank im Voraus!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2100796</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2100796</guid><dc:creator><![CDATA[asdfghjkl1234]]></dc:creator><pubDate>Tue, 02 Aug 2011 11:46:09 GMT</pubDate></item><item><title><![CDATA[Reply to 1D bzw 2D Array von VB.Net an C++ on Tue, 02 Aug 2011 15:29:21 GMT]]></title><description><![CDATA[<p>Ich sehe da keinen Sinn.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2100911</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2100911</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Tue, 02 Aug 2011 15:29:21 GMT</pubDate></item><item><title><![CDATA[Reply to 1D bzw 2D Array von VB.Net an C++ on Tue, 02 Aug 2011 17:19:56 GMT]]></title><description><![CDATA[<p>Daten aus <a href="http://VB.Net" rel="nofollow">VB.Net</a> an C++-DLL übergeben. Ob das Sinn ergibt oder nicht kann man wohl kaum erkennen ohne die Details des Problems zu kennen.<br />
I.d.S. kann ich in Deinem Kommentar keinen Sinn erkennen. (schlecht gelaunt?)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2100963</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2100963</guid><dc:creator><![CDATA[Caligulaminus]]></dc:creator><pubDate>Tue, 02 Aug 2011 17:19:56 GMT</pubDate></item></channel></rss>