<?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>P/Invoke Interop Assistant [Justin Van Patten]</title><link>http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx</link><description>The Interop team recently released a new tool called the P/Invoke Interop Assistant . This tool automatically generates managed p/invoke declarations (in C# or VB) from native signatures. It includes a quick look-up for the common Win32 libraries and</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: P/Invoke Interop Assistant [Justin Van Patten]</title><link>http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx#8662968</link><pubDate>Sat, 28 Jun 2008 01:28:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8662968</guid><dc:creator>Paulo Morgado</dc:creator><description>&lt;p&gt;It would be nice to have the same for COM Interop.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8662968" width="1" height="1"&gt;</description></item><item><title>re: P/Invoke Interop Assistant [Justin Van Patten]</title><link>http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx#8661163</link><pubDate>Fri, 27 Jun 2008 13:58:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8661163</guid><dc:creator>Jon Skeet</dc:creator><description>&lt;p&gt;Looks like a fabulous tool. Could I suggest that the team reaches out to &lt;a rel="nofollow" target="_new" href="http://pinvoke.net"&gt;http://pinvoke.net&lt;/a&gt; to ask them to advertise it on their front page as well? I know they already have a plugin there, but choice is a good thing...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8661163" width="1" height="1"&gt;</description></item><item><title>P/Invoke Interop Assistant</title><link>http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx#8658574</link><pubDate>Fri, 27 Jun 2008 01:16:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8658574</guid><dc:creator>ASPInsiders</dc:creator><description>&lt;p&gt;Since today I&amp;amp;#39;m putting my blog reading in day, here&amp;amp;#39;s another post announcing what seems to&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8658574" width="1" height="1"&gt;</description></item><item><title>P/Invoke Interop Assistant</title><link>http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx#8658316</link><pubDate>Fri, 27 Jun 2008 00:07:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8658316</guid><dc:creator>LA.NET [EN]</dc:creator><description>&lt;p&gt;Since today I&amp;amp;#39;m putting my blog reading in day, here&amp;amp;#39;s another post announcing what seems to&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8658316" width="1" height="1"&gt;</description></item><item><title>re: P/Invoke Interop Assistant [Justin Van Patten]</title><link>http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx#8655161</link><pubDate>Thu, 26 Jun 2008 09:58:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8655161</guid><dc:creator>BCL Team</dc:creator><description>&lt;p&gt;Staffan,&lt;/p&gt;
&lt;p&gt;Ideally yes. Right now the tool just automatically translates unmanaged code into the managed interop definitions. &amp;nbsp;There's no way to figure out from the unmanaged API alone what kind of SafeHandle to use or what API to call to close the handle. &amp;nbsp;It'd be trivial to implement if there was a map of functions, parameter positions, and which function to close with. &amp;nbsp;The team is considering enabling this with a plugin which could do just that based on an input file.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Justin&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8655161" width="1" height="1"&gt;</description></item><item><title>re: P/Invoke Interop Assistant [Justin Van Patten]</title><link>http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx#8655009</link><pubDate>Thu, 26 Jun 2008 09:25:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8655009</guid><dc:creator>Staffan Gustafsson</dc:creator><description>&lt;p&gt;Shouldn't Create file return a SafeFileHandle instead of an IntPtr?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8655009" width="1" height="1"&gt;</description></item><item><title>re: P/Invoke Interop Assistant [Justin Van Patten]</title><link>http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx#8648171</link><pubDate>Tue, 24 Jun 2008 20:55:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8648171</guid><dc:creator>Bill Menees</dc:creator><description>&lt;p&gt;The &lt;a rel="nofollow" target="_new" href="http://pinvoke.net/"&gt;http://pinvoke.net/&lt;/a&gt; wiki is another great place to get interop signatures.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8648171" width="1" height="1"&gt;</description></item><item><title>Interesting Links – 6/24/2008</title><link>http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx#8647363</link><pubDate>Tue, 24 Jun 2008 17:19:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8647363</guid><dc:creator>Matt Johnson's Technical Adventures</dc:creator><description>&lt;p&gt;Ask the Directory Services Team : Custom Certificate Request in Windows Vista Microsoft Security Development&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8647363" width="1" height="1"&gt;</description></item><item><title>re: P/Invoke Interop Assistant [Justin Van Patten]</title><link>http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx#8646868</link><pubDate>Tue, 24 Jun 2008 14:16:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8646868</guid><dc:creator>Denis Bittencourt Muniz</dc:creator><description>&lt;p&gt;A efficient tool, but the signature is very detailed. For example, the 'InAttribute', it is really inform it? But, 'LPWStrAttribute', is a good idea, inform it explicitly, to avoid problems :-)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8646868" width="1" height="1"&gt;</description></item><item><title>re: P/Invoke Interop Assistant [Justin Van Patten]</title><link>http://blogs.msdn.com/b/bclteam/archive/2008/06/23/p-invoke-interop-assistant-justin-van-patten.aspx#8646002</link><pubDate>Tue, 24 Jun 2008 09:57:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8646002</guid><dc:creator>Jarle Nygård</dc:creator><description>&lt;p&gt;Is there an effort at MS to examine all the p/Invokes that people are using? To include some of that in the BCL I mean. Mono had a tool like that, it basically analyzes source code looking for &amp;quot;stuff&amp;quot; that's missing in either Mono or Linux/OSX/whatever (P/Invokes). &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8646002" width="1" height="1"&gt;</description></item></channel></rss>