<?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>Interop 101 - Part 3</title><link>http://blogs.msdn.com/b/borisj/archive/2006/09/02/737144.aspx</link><description>In the last part of this little series, we looked into how C# (and .NET languages in general) can call into native code as directly as possible through P/Invoke. While this is a viable technique in many cases, it doesn’t scale to complex interop nicely</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Interop 101 - Part 3</title><link>http://blogs.msdn.com/b/borisj/archive/2006/09/02/737144.aspx#9467739</link><pubDate>Mon, 09 Mar 2009 16:14:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9467739</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;If your in vista, you need to be running the app as administrator, which is why you may be getting access exceptions&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9467739" width="1" height="1"&gt;</description></item><item><title>re: Interop 101 - Part 3</title><link>http://blogs.msdn.com/b/borisj/archive/2006/09/02/737144.aspx#6201335</link><pubDate>Wed, 14 Nov 2007 11:12:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6201335</guid><dc:creator>Charalambos</dc:creator><description>&lt;p&gt;Nice!&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot; &lt;a rel="nofollow" target="_new" href="http://citroen.carentertainment.cn"&gt;http://citroen.carentertainment.cn&lt;/a&gt; &amp;quot;&amp;gt; citroen &amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://citroen.carentertainment.cn"&gt;http://citroen.carentertainment.cn&lt;/a&gt; citroen&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6201335" width="1" height="1"&gt;</description></item><item><title>re: Interop 101 - Part 3</title><link>http://blogs.msdn.com/b/borisj/archive/2006/09/02/737144.aspx#6199646</link><pubDate>Wed, 14 Nov 2007 10:13:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6199646</guid><dc:creator>Alexios</dc:creator><description>&lt;p&gt;Sorry :(&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot; &lt;a rel="nofollow" target="_new" href="http://1959-dodge.carfenders.cn"&gt;http://1959-dodge.carfenders.cn&lt;/a&gt; &amp;quot;&amp;gt; 1959 dodge &amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://1959-dodge.carfenders.cn"&gt;http://1959-dodge.carfenders.cn&lt;/a&gt; 1959 dodge&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6199646" width="1" height="1"&gt;</description></item><item><title>re: Interop 101 - Part 3</title><link>http://blogs.msdn.com/b/borisj/archive/2006/09/02/737144.aspx#6195940</link><pubDate>Wed, 14 Nov 2007 08:19:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6195940</guid><dc:creator>Christoforos</dc:creator><description>&lt;p&gt;Interesting...&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot; &lt;a rel="nofollow" target="_new" href="http://peugeot-schematics.cardesighn.cn"&gt;http://peugeot-schematics.cardesighn.cn&lt;/a&gt; &amp;quot;&amp;gt; peugeot schematics &amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://peugeot-schematics.cardesighn.cn"&gt;http://peugeot-schematics.cardesighn.cn&lt;/a&gt; peugeot schematics&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6195940" width="1" height="1"&gt;</description></item><item><title>re: Interop 101 - Part 3</title><link>http://blogs.msdn.com/b/borisj/archive/2006/09/02/737144.aspx#6183693</link><pubDate>Wed, 14 Nov 2007 00:13:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6183693</guid><dc:creator>Koinos</dc:creator><description>&lt;p&gt;Interesting...&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot; &lt;a rel="nofollow" target="_new" href="http://car-systen.carcollections.cn"&gt;http://car-systen.carcollections.cn&lt;/a&gt; &amp;quot;&amp;gt; car systen &amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://car-systen.carcollections.cn"&gt;http://car-systen.carcollections.cn&lt;/a&gt; car systen&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6183693" width="1" height="1"&gt;</description></item><item><title>re: Interop 101 - Part 3</title><link>http://blogs.msdn.com/b/borisj/archive/2006/09/02/737144.aspx#6180232</link><pubDate>Tue, 13 Nov 2007 21:51:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6180232</guid><dc:creator>Halu</dc:creator><description>&lt;p&gt;Nice!&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot; &lt;a rel="nofollow" target="_new" href="http://honda-motorclclea.brisbanebmw.cn"&gt;http://honda-motorclclea.brisbanebmw.cn&lt;/a&gt; &amp;quot;&amp;gt; honda motorclclea &amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://honda-motorclclea.brisbanebmw.cn"&gt;http://honda-motorclclea.brisbanebmw.cn&lt;/a&gt; honda motorclclea&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6180232" width="1" height="1"&gt;</description></item><item><title>re: Interop 101 - Part 3</title><link>http://blogs.msdn.com/b/borisj/archive/2006/09/02/737144.aspx#6180220</link><pubDate>Tue, 13 Nov 2007 21:50:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6180220</guid><dc:creator>Charalampos</dc:creator><description>&lt;p&gt;Nice...&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot; &lt;a rel="nofollow" target="_new" href="http://toyota-inova.carbalers.cn"&gt;http://toyota-inova.carbalers.cn&lt;/a&gt; &amp;quot;&amp;gt; toyota inova &amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://toyota-inova.carbalers.cn"&gt;http://toyota-inova.carbalers.cn&lt;/a&gt; toyota inova&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6180220" width="1" height="1"&gt;</description></item><item><title>re: Interop 101 - Part 3</title><link>http://blogs.msdn.com/b/borisj/archive/2006/09/02/737144.aspx#6171920</link><pubDate>Tue, 13 Nov 2007 16:00:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6171920</guid><dc:creator>Photios</dc:creator><description>&lt;p&gt;Cool!&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot; &lt;a rel="nofollow" target="_new" href="http://jeep-dashboard.buickbengal.cn"&gt;http://jeep-dashboard.buickbengal.cn&lt;/a&gt; &amp;quot;&amp;gt; jeep dashboard &amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://jeep-dashboard.buickbengal.cn"&gt;http://jeep-dashboard.buickbengal.cn&lt;/a&gt; jeep dashboard&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6171920" width="1" height="1"&gt;</description></item><item><title>re: Interop 101 - Part 3</title><link>http://blogs.msdn.com/b/borisj/archive/2006/09/02/737144.aspx#3622994</link><pubDate>Sat, 30 Jun 2007 13:57:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3622994</guid><dc:creator>Indy</dc:creator><description>&lt;p&gt;Hi Boris,&lt;/p&gt;
&lt;p&gt;Your posts on Interop are great. I refer the one where you discuss how to use a COM C++ DLL in managed code. I have a COM DLL compiled with VC 5/6 (WinGraphViz.DLL) which I reference in my C# application (The application passes a C# string to validate, and then convert it to the dot equivalent). &lt;/p&gt;
&lt;p&gt;When I run the application in the VC# Express debuger, or the release binary, it runs fine. However, when the user does not belong to the &amp;quot;Administrators&amp;quot; group, I get an exception - &amp;quot;Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt&amp;quot;. &lt;/p&gt;
&lt;p&gt;I have tried everything I can see documented in MSDN (PIA's, regasm, gacutil, etc) without any success. I shall appreciate if you have some ideas on this.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Indy&lt;/p&gt;
&lt;p&gt;(indrtiya@yahoo.com).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3622994" width="1" height="1"&gt;</description></item><item><title>re: Interop 101 - Part 3</title><link>http://blogs.msdn.com/b/borisj/archive/2006/09/02/737144.aspx#1116884</link><pubDate>Tue, 21 Nov 2006 23:01:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1116884</guid><dc:creator>Britney</dc:creator><description>&lt;p&gt;Good design!&lt;/p&gt;
&lt;p&gt;[url=&lt;a rel="nofollow" target="_new" href="http://iwrgeuif.com/nzgy/zhht.html"&gt;http://iwrgeuif.com/nzgy/zhht.html&lt;/a&gt;]My homepage[/url] | [url=&lt;a rel="nofollow" target="_new" href="http://qsuglkmf.com/mlng/bnsu.html"&gt;http://qsuglkmf.com/mlng/bnsu.html&lt;/a&gt;]Cool site[/url]&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1116884" width="1" height="1"&gt;</description></item></channel></rss>