开发者

Windows media encoder Library cannnot be created

开发者 https://www.devze.com 2023-01-28 13:25 出处:网络
I have an application that records video from webcam. It works on my 64-bit window, but this doesn\'t work in 32-bit version.

I have an application that records video from webcam. It works on my 64-bit window, but this doesn't work in 32-bit version.

Actually I just try to initiate an WME Object from this below statement. But it seems not work. When I try to do debugging, it cannot detect any exceptions and it just terminate the debugging process.

WMEncoder Encoder = new WMEncoder();

So I am confuse now, is the problem caused by the version that I used does not support for wind开发者_Python百科ow 32bit?

any helps would be appreciated. thanks


Try targeting x86 instead of Any CPU in the properties of your .NET project. IIRC Windows Media Encoder is a native 32 bit component.

0

精彩评论

暂无评论...
验证码 换一张
取 消