<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Marshalling a Variable-Length Array From Unmanaged Code In C#</title>
	<atom:link href="http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/</link>
	<description>Incoherent and disjointed opinionated drivel from somewhere near London</description>
	<lastBuildDate>Sat, 21 Aug 2010 02:05:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Roman</title>
		<link>http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/comment-page-1/#comment-19784</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Sun, 07 Feb 2010 13:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/#comment-19784</guid>
		<description>Thank you for the information, it is exactly what I was looking for.</description>
		<content:encoded><![CDATA[<p>Thank you for the information, it is exactly what I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simi</title>
		<link>http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/comment-page-1/#comment-19002</link>
		<dc:creator>simi</dc:creator>
		<pubDate>Wed, 30 Dec 2009 08:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/#comment-19002</guid>
		<description>hi,

First of all. Thanks very much for your useful post.

I just came across your blog and wanted to drop you a note telling you how impressed I was with the information you have posted here.

Please let me introduce you some info related to this post and I hope that it is useful for .Net community.

There is a good C# resource site, Have alook
 
http://www.csharptalk.com/2009/09/c-array.html
http://www.csharptalk.com/2009/10/creating-arrays.html

simi</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>First of all. Thanks very much for your useful post.</p>
<p>I just came across your blog and wanted to drop you a note telling you how impressed I was with the information you have posted here.</p>
<p>Please let me introduce you some info related to this post and I hope that it is useful for .Net community.</p>
<p>There is a good C# resource site, Have alook</p>
<p><a href="http://www.csharptalk.com/2009/09/c-array.html" rel="nofollow">http://www.csharptalk.com/2009/09/c-array.html</a><br />
<a href="http://www.csharptalk.com/2009/10/creating-arrays.html" rel="nofollow">http://www.csharptalk.com/2009/10/creating-arrays.html</a></p>
<p>simi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tratcher</title>
		<link>http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/comment-page-1/#comment-18827</link>
		<dc:creator>Tratcher</dc:creator>
		<pubDate>Tue, 22 Dec 2009 22:48:42 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/#comment-18827</guid>
		<description>Very Helpfull, thanks.

I will note that this:
ptr = new IntPtr(ptr.ToInt32() + sizeof (uint)); // move to first
should be:
ptr = new IntPtr(ptr.ToInt32() + IntPtr.Size); // move to first

And PtrToStringAnsi should be PtrToStringAuto.

This handles padding issues on 64bit OS&#039;s.</description>
		<content:encoded><![CDATA[<p>Very Helpfull, thanks.</p>
<p>I will note that this:<br />
ptr = new IntPtr(ptr.ToInt32() + sizeof (uint)); // move to first<br />
should be:<br />
ptr = new IntPtr(ptr.ToInt32() + IntPtr.Size); // move to first</p>
<p>And PtrToStringAnsi should be PtrToStringAuto.</p>
<p>This handles padding issues on 64bit OS&#8217;s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flashy</title>
		<link>http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/comment-page-1/#comment-18452</link>
		<dc:creator>flashy</dc:creator>
		<pubDate>Thu, 03 Dec 2009 15:15:11 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/#comment-18452</guid>
		<description>Any information on your sources though?</description>
		<content:encoded><![CDATA[<p>Any information on your sources though?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emergency cell phone chargers</title>
		<link>http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/comment-page-1/#comment-13233</link>
		<dc:creator>emergency cell phone chargers</dc:creator>
		<pubDate>Wed, 29 Apr 2009 01:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2009/03/31/marshalling-a-variable-length-array-from-unmanaged-code-in-c/#comment-13233</guid>
		<description>Interesting and useful info - thanks for informing all of us. Nate</description>
		<content:encoded><![CDATA[<p>Interesting and useful info &#8211; thanks for informing all of us. Nate</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.309 seconds -->
