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.
精彩评论