<?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[Multistring ausgeben von einen Byte Array]]></title><description><![CDATA[<p>**Hallo,</p>
<p>ich hoffe mir kann jemand helfen. Folgende Problemstellung:</p>
<p>Ich möchte diese Funktion einer DLL nutzen (kopiert aus MSDN):**</p>
<pre><code>ULONG FbwfGetVolumeList(
   ULONG currentSession,      //[in] Boolean value
   PVOID volumeList,          //[out] Caller allocated buffer receiving the 
                              //volume list as a multi-string. 
   PULONG size                //[in, out] Size of the buffer pointed to by 
                              //volumeList. If this buffer size is too small, 
                              //the function will fail and size will contain  
                              //the required buffer size.
);
</code></pre>
<p>u<strong>nd zwar möchte ich den Multistring(was ein Dateipfad sein sollte) in der Mitte ausgegeben haben. Dies versuche ich folgendermassen:</strong></p>
<pre><code>ULONG CurrSession = 0;
ULONG cbSize = 100;
BYTE *ExcludedFiles = new BYTE[100];

ULONG iErr = FbwfGetVolumeList(CurrSession, ExcludedFiles, &amp;cbSize);

Folder-&gt;Items-&gt;Add(&quot;123&quot; + *ExcludedFiles + &quot;456&quot;);
</code></pre>
<p>**Allerdings bekomme ich nur eine Zahl wie z.B. 0 oder 92 ausgeben.</p>
<p>Hoffe mir hilft jemand.</p>
<p>MFG Mazzo**</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/181242/multistring-ausgeben-von-einen-byte-array</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 00:55:42 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/181242.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 May 2007 12:16:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Multistring ausgeben von einen Byte Array on Fri, 11 May 2007 12:16:11 GMT]]></title><description><![CDATA[<p>**Hallo,</p>
<p>ich hoffe mir kann jemand helfen. Folgende Problemstellung:</p>
<p>Ich möchte diese Funktion einer DLL nutzen (kopiert aus MSDN):**</p>
<pre><code>ULONG FbwfGetVolumeList(
   ULONG currentSession,      //[in] Boolean value
   PVOID volumeList,          //[out] Caller allocated buffer receiving the 
                              //volume list as a multi-string. 
   PULONG size                //[in, out] Size of the buffer pointed to by 
                              //volumeList. If this buffer size is too small, 
                              //the function will fail and size will contain  
                              //the required buffer size.
);
</code></pre>
<p>u<strong>nd zwar möchte ich den Multistring(was ein Dateipfad sein sollte) in der Mitte ausgegeben haben. Dies versuche ich folgendermassen:</strong></p>
<pre><code>ULONG CurrSession = 0;
ULONG cbSize = 100;
BYTE *ExcludedFiles = new BYTE[100];

ULONG iErr = FbwfGetVolumeList(CurrSession, ExcludedFiles, &amp;cbSize);

Folder-&gt;Items-&gt;Add(&quot;123&quot; + *ExcludedFiles + &quot;456&quot;);
</code></pre>
<p>**Allerdings bekomme ich nur eine Zahl wie z.B. 0 oder 92 ausgeben.</p>
<p>Hoffe mir hilft jemand.</p>
<p>MFG Mazzo**</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1282971</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1282971</guid><dc:creator><![CDATA[Mazzo123]]></dc:creator><pubDate>Fri, 11 May 2007 12:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to Multistring ausgeben von einen Byte Array on Fri, 11 May 2007 12:32:32 GMT]]></title><description><![CDATA[<p>Ein Multistring ist nach meinem Verständnis einfach eine Aneinaderreihung von C-Strings hintereinander im Speicher. Wenn du deinen char*-Wert dereferenzierst, bekommst du das erste Zeichen dieses Strings (und da wundert es mich, daß der Ausdruck &quot;123&quot;+*ExcludedFiles+&quot;456&quot; überhaupt durch den Compiler kommt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1282978</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1282978</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 11 May 2007 12:32:32 GMT</pubDate></item></channel></rss>