Hello C9ers,

I'm having some trouble figuring out how to do this: I've developed a camera library in C++/CLI which I use further in C# apps. After making it accessible to Windows Forms and Direct3D, I want to give Avalon/WPF a try, but this is where I got a bit stuck (lack of proper information). As you can see from the thread's title, I want to achieve
the same functionality that currently is given by MediaElement/MediaPlayer. I want to be able to output my webcam preview video to any Visual element in WPF. How do I do that? Do I need to subclass MediaElement? Or MediaPlayer? Or something else. And how do I customize it? I hope someone has an answer to this really soon, I'm
betting my final year project on this.

Thanks in advance,

Cosmin.

P.S. Also, I want to know if C++/CLI can be used to subclass the controls, or it has to be done in C#.

I've tried several places to get this info, noone seems to care... I hope C9 will.