<?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>Linking native C++ into C# applications</title><link>http://blogs.msdn.com/b/texblog/archive/2007/04/05/linking-native-c-into-c-applications.aspx</link><description>Last week I saw a question on our MSDN forums asking how to link C++ and C# code into a single binary. It's a scenario that we indeed support (albeit only from the command-line), but as I looked for a reference to which to point this person, I found precious</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Linking native C++ into C# applications</title><link>http://blogs.msdn.com/b/texblog/archive/2007/04/05/linking-native-c-into-c-applications.aspx#3407942</link><pubDate>Tue, 19 Jun 2007 19:16:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3407942</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;Will this (or a similar approach) work for C code as well, or just C++.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3407942" width="1" height="1"&gt;</description></item><item><title>re: Linking native C++ into C# applications</title><link>http://blogs.msdn.com/b/texblog/archive/2007/04/05/linking-native-c-into-c-applications.aspx#2896367</link><pubDate>Sat, 26 May 2007 13:14:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2896367</guid><dc:creator>Mayank</dc:creator><description>&lt;p&gt;it would be great to take this some steps further and have a native/managed dll that exposes both unmanaged APIs and managed constructs.&lt;/p&gt;
&lt;p&gt;One additional advantage would of course be that loading the dll NOT lead to a load of the .Net Runtime in case it is being used by unmanaged code. Though I don't think this is possible as _CorDllMain would be the entry point for any managed/unmanaged IJW/C#/C++ module that you make right?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2896367" width="1" height="1"&gt;</description></item><item><title>re: Linking native C++ into C# applications</title><link>http://blogs.msdn.com/b/texblog/archive/2007/04/05/linking-native-c-into-c-applications.aspx#2075795</link><pubDate>Tue, 10 Apr 2007 21:35:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2075795</guid><dc:creator>Andre</dc:creator><description>&lt;p&gt;You should post this blog entry on Codeproject.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2075795" width="1" height="1"&gt;</description></item><item><title>re: Linking native C++ into C# applications</title><link>http://blogs.msdn.com/b/texblog/archive/2007/04/05/linking-native-c-into-c-applications.aspx#2035452</link><pubDate>Fri, 06 Apr 2007 00:41:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2035452</guid><dc:creator>Steve Teixeira -- MSFT</dc:creator><description>&lt;p&gt;Thanks, Aaron. &amp;nbsp;The al/ilmerge approaches they discuss work well for purely managed scenarios, but they don't support linking native code.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2035452" width="1" height="1"&gt;</description></item><item><title>re: Linking native C++ into C# applications</title><link>http://blogs.msdn.com/b/texblog/archive/2007/04/05/linking-native-c-into-c-applications.aspx#2035432</link><pubDate>Fri, 06 Apr 2007 00:37:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2035432</guid><dc:creator>Aaron Fischer</dc:creator><description>&lt;p&gt;Or you could use ILMerge&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/downloads/details.aspx?familyid=22914587-b4ad-4eae-87cf-b14ae6a939b0&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=22914587-b4ad-4eae-87cf-b14ae6a939b0&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;an example of usage on codeproject&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.codeproject.com/dotnet/mergingassemblies.asp"&gt;http://www.codeproject.com/dotnet/mergingassemblies.asp&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2035432" width="1" height="1"&gt;</description></item></channel></rss>