<?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>Dynamic PInvoke</title><link>http://blogs.msdn.com/junfeng/archive/2004/07/14/181932.aspx</link><description>CLR provides platform invoke mechanism to enable managed applications to call unmanaged APIs exported in a DLL. Here is a simple example: using System.Runtime.InteropServices; public class HelloWorld { public static void Main() { MessageBox(0, "Hello</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Dynamic PInvoke</title><link>http://blogs.msdn.com/junfeng/archive/2004/07/14/181932.aspx#182074</link><pubDate>Wed, 14 Jul 2004 15:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:182074</guid><dc:creator>th</dc:creator><description>Is there any way to specify the calling convention to use for the delegate?  Or other options available with DllImport (PreserveSig, etc.)?</description></item><item><title>re: Dynamic PInvoke</title><link>http://blogs.msdn.com/junfeng/archive/2004/07/14/181932.aspx#182295</link><pubDate>Wed, 14 Jul 2004 17:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:182295</guid><dc:creator>Junfeng Zhang</dc:creator><description>Yes. Check out UnmanagedFunctionPointerAttribute (&lt;a target="_new" href="http://lab.msdn.microsoft.com/library/en-us/cpref/html/T_System_Runtime_InteropServices_UnmanagedFunctionPointerAttribute.asp"&gt;http://lab.msdn.microsoft.com/library/en-us/cpref/html/T_System_Runtime_InteropServices_UnmanagedFunctionPointerAttribute.asp&lt;/a&gt;)</description></item><item><title>re: Dynamic PInvoke</title><link>http://blogs.msdn.com/junfeng/archive/2004/07/14/181932.aspx#184508</link><pubDate>Fri, 16 Jul 2004 16:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:184508</guid><dc:creator>Nick Parker</dc:creator><description>Nice, I am going to have to play around with this at home now!  :-)</description></item><item><title>PInvoke ?????? DLL ??? Load/Unload ????????????</title><link>http://blogs.msdn.com/junfeng/archive/2004/07/14/181932.aspx#256239</link><pubDate>Fri, 12 Nov 2004 09:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:256239</guid><dc:creator>TrackBack</dc:creator><description>PInvoke ?????? DLL ??? Load/Unload ????????????</description></item><item><title>Versioning/Deploying Unmanaged Files</title><link>http://blogs.msdn.com/junfeng/archive/2004/07/14/181932.aspx#400054</link><pubDate>Tue, 22 Mar 2005 00:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:400054</guid><dc:creator>Suzanne Cook's .NET CLR Loader Notes</dc:creator><description /></item><item><title>Versioning/Deploying Unmanaged Files</title><link>http://blogs.msdn.com/junfeng/archive/2004/07/14/181932.aspx#2104968</link><pubDate>Fri, 13 Apr 2007 01:45:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2104968</guid><dc:creator>Suzanne Cook's .NET CLR Notes</dc:creator><description>&lt;p&gt;An unmanaged dll can be wrapped in a managed assembly by adding it as a file of a multi-module assembly.&lt;/p&gt;
</description></item><item><title>Calling function pointers from C#?</title><link>http://blogs.msdn.com/junfeng/archive/2004/07/14/181932.aspx#8992328</link><pubDate>Thu, 09 Oct 2008 04:32:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8992328</guid><dc:creator>IWebThereforeIAm</dc:creator><description>&lt;p&gt;Calling function pointers from C#? Marshal.GetDelegateForFunctionPointer...&lt;/p&gt;
</description></item><item><title>asp.net and dllimport | keyongtech</title><link>http://blogs.msdn.com/junfeng/archive/2004/07/14/181932.aspx#9338356</link><pubDate>Sun, 18 Jan 2009 20:16:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9338356</guid><dc:creator>asp.net and dllimport | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/1194687-asp-net-and-dllimport"&gt;http://www.keyongtech.com/1194687-asp-net-and-dllimport&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>