<?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[Inhalt einer c++ Struktur nach Visual Basic ?]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich habe folgendes Problem:<br />
Ich möchte eine C++- Struktur:<br />
struct<br />
{<br />
int var 1;<br />
int var 2;<br />
char var3[10];<br />
float var 4;<br />
} TEST</p>
<p>nach VB bekommen, und zwar so, das die Variablen in VB wieder in eine Struktur, oder zumindest einer Funktion übergeben werden.<br />
entweder über eine Funktion oder eine DLL.<br />
Hier zu habe folgendes Beispiel von MSDN ausprobiert:</p>
<p><a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;194873" rel="nofollow">http://support.microsoft.com/default.aspx?scid=kb;en-us;194873</a></p>
<p>aber leider funktioniert das nur mit Variablentypen bis 2Byte (liegt wohl an BSTR Type)<br />
Hat hierzu jemand eine Idee oder ein Beipiel zu Hand?<br />
Irgendwie finde ich nur Beispiele von Dll's um von VB nach C++.</p>
<p>Mfg Dborn</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/75639/inhalt-einer-c-struktur-nach-visual-basic</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 06:38:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/75639.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Jun 2004 17:14:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Inhalt einer c++ Struktur nach Visual Basic ? on Wed, 02 Jun 2004 17:14:12 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich habe folgendes Problem:<br />
Ich möchte eine C++- Struktur:<br />
struct<br />
{<br />
int var 1;<br />
int var 2;<br />
char var3[10];<br />
float var 4;<br />
} TEST</p>
<p>nach VB bekommen, und zwar so, das die Variablen in VB wieder in eine Struktur, oder zumindest einer Funktion übergeben werden.<br />
entweder über eine Funktion oder eine DLL.<br />
Hier zu habe folgendes Beispiel von MSDN ausprobiert:</p>
<p><a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;194873" rel="nofollow">http://support.microsoft.com/default.aspx?scid=kb;en-us;194873</a></p>
<p>aber leider funktioniert das nur mit Variablentypen bis 2Byte (liegt wohl an BSTR Type)<br />
Hat hierzu jemand eine Idee oder ein Beipiel zu Hand?<br />
Irgendwie finde ich nur Beispiele von Dll's um von VB nach C++.</p>
<p>Mfg Dborn</p>
]]></description><link>https://www.c-plusplus.net/forum/post/531816</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/531816</guid><dc:creator><![CDATA[dborn]]></dc:creator><pubDate>Wed, 02 Jun 2004 17:14:12 GMT</pubDate></item><item><title><![CDATA[Reply to Inhalt einer c++ Struktur nach Visual Basic ? on Wed, 02 Jun 2004 22:03:43 GMT]]></title><description><![CDATA[<p>du musst wohl deine c++ strings in unicode umwandeln</p>
<p>vielleicht klappts mit CString::AllocSysString()</p>
<p>wenns dir lieber is kannst du in c++ auch auf den microsoft kram verzichten und die vb funktionen direkt über funktionspointer aufrufen</p>
<p><a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;181578&amp;Product=vbb" rel="nofollow">http://support.microsoft.com/default.aspx?scid=kb;en-us;181578&amp;Product=vbb</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/532036</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/532036</guid><dc:creator><![CDATA[Sovok]]></dc:creator><pubDate>Wed, 02 Jun 2004 22:03:43 GMT</pubDate></item><item><title><![CDATA[Reply to Inhalt einer c++ Struktur nach Visual Basic ? on Thu, 03 Jun 2004 16:59:22 GMT]]></title><description><![CDATA[<p>Hallo<br />
Danke für die Antwort,<br />
allerdings ist das Beispiel wieder von VB aus auf eine C -DLL zugreifen.<br />
Ich muss aber von C meine Struktur oder den Variablen alleine nach VB übergeben.<br />
Vieleicht da noch ein Beispiel zu Hand?</p>
<p>MfG DBorn</p>
]]></description><link>https://www.c-plusplus.net/forum/post/532463</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/532463</guid><dc:creator><![CDATA[dborn]]></dc:creator><pubDate>Thu, 03 Jun 2004 16:59:22 GMT</pubDate></item><item><title><![CDATA[Reply to Inhalt einer c++ Struktur nach Visual Basic ? on Thu, 03 Jun 2004 21:49:54 GMT]]></title><description><![CDATA[<p>nene die überschrift is doch deutlich:<br />
HOWTO: Callback Visual Basic Functions From a C DLL<br />
natürlich gehts nur wenn du von beiden den quellcode hast</p>
<p>Call ExecuteCallback(AddressOf MyCallback)</p>
<p>AddressOf gibt dir einen zeiger auf die vb funktion<br />
diesen gibst du an c und rufst ihn dann von c aus auf</p>
]]></description><link>https://www.c-plusplus.net/forum/post/532750</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/532750</guid><dc:creator><![CDATA[Sovok]]></dc:creator><pubDate>Thu, 03 Jun 2004 21:49:54 GMT</pubDate></item><item><title><![CDATA[Reply to Inhalt einer c++ Struktur nach Visual Basic ? on Sun, 06 Jun 2004 13:31:03 GMT]]></title><description><![CDATA[<p>Ah jetzt ja.<br />
Alles klar.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/534248</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/534248</guid><dc:creator><![CDATA[dborn]]></dc:creator><pubDate>Sun, 06 Jun 2004 13:31:03 GMT</pubDate></item></channel></rss>