<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>What is the difference in a P/Invoke signature between “byref byte” and “byte[]”?</title><link>http://blogs.msdn.com/joshwil/archive/2005/08/10/450200.aspx</link><description>Lately we’ve seen a spate of issues coming up on 64-bit platforms within the Developer Division around usages of P/Invoke signatures which declare a parameter as type “byref byte” where the developer really means “byte[]” (the corresponding native parameter</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: What is the difference in a P/Invoke signature between “byref byte” and “byte[]”?</title><link>http://blogs.msdn.com/joshwil/archive/2005/08/10/450200.aspx#450421</link><pubDate>Thu, 11 Aug 2005 18:19:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:450421</guid><dc:creator>Frank Hileman</dc:creator><description>Your recent posts are very useful! Would it not be so much work for someone at Microsoft to create an VS add-in that performed the following: the user selects from a list of win32 methods, the add-in pulls a Correct PInvoke decl from some safe online database (not the frequently vandalized wiki) and sticks it in a file dedicated to PInvoke decls. PInvoke is quite common and errors are just as common.</description></item><item><title>Marshal opaque structs as IntPtr instead of Byte[]</title><link>http://blogs.msdn.com/joshwil/archive/2005/08/10/450200.aspx#1169716</link><pubDate>Wed, 29 Nov 2006 08:26:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1169716</guid><dc:creator>Mike Stall's .NET Debugging Blog</dc:creator><description>&lt;p&gt;If you have an opaque native structure that you want to pass through managed code, consider using IntPtr,&lt;/p&gt;
</description></item><item><title>GetPrinter Call in x64 caused a FatalExecutionEngineError expectio | keyongtech</title><link>http://blogs.msdn.com/joshwil/archive/2005/08/10/450200.aspx#9364485</link><pubDate>Thu, 22 Jan 2009 10:56:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9364485</guid><dc:creator>GetPrinter Call in x64 caused a FatalExecutionEngineError expectio | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/452072-getprinter-call-in-x64-caused"&gt;http://www.keyongtech.com/452072-getprinter-call-in-x64-caused&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>