<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Windows Media Encoder 9 SDK OnStateChanged Event</title>
	<atom:link href="http://siliconbased.wordpress.com/2008/11/21/windows-media-encoder-9-sdk-onstatechanged-event/feed/" rel="self" type="application/rss+xml" />
	<link>http://siliconbased.wordpress.com/2008/11/21/windows-media-encoder-9-sdk-onstatechanged-event/</link>
	<description>Adventures in Technology</description>
	<lastBuildDate>Sat, 31 Jan 2009 23:29:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Admin</title>
		<link>http://siliconbased.wordpress.com/2008/11/21/windows-media-encoder-9-sdk-onstatechanged-event/#comment-10</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Sat, 31 Jan 2009 23:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://siliconbased.wordpress.com/?p=56#comment-10</guid>
		<description>i-developer: 

Hi. The WMEncoder was being created ok, I just wasn&#039;t getting all the events. I was running on XP anyway - the hotfix you mentioned appears to be for Vista. Still, the hotfix ought to be useful to a colleague of mine, so thanks for mentioning it.</description>
		<content:encoded><![CDATA[<p>i-developer: </p>
<p>Hi. The WMEncoder was being created ok, I just wasn&#8217;t getting all the events. I was running on XP anyway &#8211; the hotfix you mentioned appears to be for Vista. Still, the hotfix ought to be useful to a colleague of mine, so thanks for mentioning it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: i-developer</title>
		<link>http://siliconbased.wordpress.com/2008/11/21/windows-media-encoder-9-sdk-onstatechanged-event/#comment-9</link>
		<dc:creator>i-developer</dc:creator>
		<pubDate>Fri, 30 Jan 2009 09:36:38 +0000</pubDate>
		<guid isPermaLink="false">http://siliconbased.wordpress.com/?p=56#comment-9</guid>
		<description>Hi,

I think you couldn&#039;t define the WMEncoder object. So you couldn&#039;t get Events. That&#039;s why you did your way. It&#039;s perfect. I did too. :) 

There is a hotfix to install then you can use it ;)

http://support.microsoft.com/default.aspx/kb/929182

Then you can use like below.

 WMEncoder Encoder = new WMEncoder();
  Encoder.OnSourceStateChange += new _IWMEncoderEvents_OnSourceStateChangeEventHandler(Encoder_OnSourceStateChange);

            Encoder.OnStateChange += new _IWMEncoderEvents_OnStateChangeEventHandler(Encoder_OnStateChange);

Regards.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I think you couldn&#8217;t define the WMEncoder object. So you couldn&#8217;t get Events. That&#8217;s why you did your way. It&#8217;s perfect. I did too. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>There is a hotfix to install then you can use it <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://support.microsoft.com/default.aspx/kb/929182" rel="nofollow">http://support.microsoft.com/default.aspx/kb/929182</a></p>
<p>Then you can use like below.</p>
<p> WMEncoder Encoder = new WMEncoder();<br />
  Encoder.OnSourceStateChange += new _IWMEncoderEvents_OnSourceStateChangeEventHandler(Encoder_OnSourceStateChange);</p>
<p>            Encoder.OnStateChange += new _IWMEncoderEvents_OnStateChangeEventHandler(Encoder_OnStateChange);</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
