简体   繁体   English

创建Windows Media编码器对象时,C#程序始终崩溃

[英]C# program always crash when creating Windows Media Encoder object

I am using Windows Vista x86 + VSTS 2008. When creating new Windows Media Encoder object using statement 我正在使用Windows Vista x86 + VSTS2008。使用语句创建新的Windows Media编码器对象时

WMEncoder encoder = new WMEncoder(); WMEncoder编码器=新的WMEncoder();

My program always crash in VSTS 2008. Here is the screen snapshot. 我的程序始终在VSTS 2008中崩溃。这是屏幕快照。 Any ideas what is wrong? 任何想法有什么问题吗?

http://i40.tinypic.com/2v96uqo.jpg http://i40.tinypic.com/2v96uqo.jpg

thanks in advance, George 预先感谢乔治

It looks like the problem may be in Windows Media Encoder: http://support.microsoft.com/kb/929182 看来问题可能出在Windows Media编码器中: http : //support.microsoft.com/kb/929182

You might just have to update WME for this to work. 您可能只需要更新WME即可运行。 As a test, you might try this on XP to see if it works - if so, it's likely the WME version on Vista. 作为测试,您可以在XP上尝试一下以查看其是否有效-如果可以,则可能是Vista上的WME版本。

This appears to be a duplicate of https://stackoverflow.com/questions/493069/wmencoder-issue 这似乎是https://stackoverflow.com/questions/493069/wmencoder-issue的副本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM