<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Software Matters &#187; Coding</title>
	<atom:link href="http://pseudosoft.net/blog/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://pseudosoft.net/blog</link>
	<description>A blog by PseudoSoft.net</description>
	<lastBuildDate>Thu, 18 Mar 2010 20:53:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Debugging COM with native and managed code</title>
		<link>http://pseudosoft.net/blog/2010/03/debugging-com-with-native-and-managed-code/</link>
		<comments>http://pseudosoft.net/blog/2010/03/debugging-com-with-native-and-managed-code/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 20:50:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Debug COM native code exception AccessViolationException]]></category>

		<guid isPermaLink="false">http://pseudosoft.net/blog/?p=10</guid>
		<description><![CDATA[I was debugging a piece of managed code that communicates with a COM object (an old native piece). I was using Visual Studio 2008.
Things moving along nicely until an exception showed up when initializing the COM object &#8211; System.AccessViolationException.
It took me quite a while to find out that the exception was solely a result of [...]]]></description>
			<content:encoded><![CDATA[<p>I was debugging a piece of managed code that communicates with a COM object (an old native piece). I was using Visual Studio 2008.</p>
<p>Things moving along nicely until an exception showed up when initializing the COM object &#8211; System.AccessViolationException.</p>
<p>It took me quite a while to find out that the exception was solely a result of a mis-configuration. I should not have checked &#8220;Enable RPC debugging&#8221; for native debugging. Cleared the checkbox, it worked like a charm.</p>
<p><img src="file:///C:/Users/WANGR%7E1.RDE/AppData/Local/Temp/moz-screenshot.png" alt="" /><a href="http://pseudosoft.net/blog/wp-content/uploads/2010/03/RPC-Debugging.jpg"><img class="alignnone size-medium wp-image-11" title="RPC Debugging" src="http://pseudosoft.net/blog/wp-content/uploads/2010/03/RPC-Debugging-300x174.jpg" alt="" width="300" height="174" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://pseudosoft.net/blog/2010/03/debugging-com-with-native-and-managed-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

