Hello,

I have been working on developing a peice of software to preview and capture a webcam video and pass the video online. The software is nearly complete and functioning except i am having one problem.

I used a WMEncoder object to encode the video from the source of the webcam.

And i used the WM_CAP_SET_PREVIEW from the windows multimedia software development kit to preview the webcam in a picturebox.

However running them both at the same time is not working, its throwing up errors because in essence i am using two functions to call the same webcam and its just not happy.

If anyone has had any success with Encoding and the WM SDK i would appreciate any input you have.

Thank You