1

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 window 32bit?

any helps would be appreciated. thanks

skaffman
  • 398,947
  • 96
  • 818
  • 769

1 Answers1

0

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

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928