Pelles C forum

C language => User contributions => Topic started by: TimoVJL on December 02, 2015, 07:11:11 PM

Title: DirectShow silly example
Post by: TimoVJL on December 02, 2015, 07:11:11 PM
Little silly DirectShow example.
Converted C++ to PellesC, source from here (http://www.codeproject.com/Articles/12869/Real-time-video-image-processing-frame-grabber-usi)

EDIT: Anyone found documentation for this ?
If someone don't want to handle bit data, use this instead that New_Sampler()
Code: [Select]
hr = CoCreateInstance(&CLSID_SampleGrabber, 0, CLSCTX_INPROC, &IID_IBaseFilter, (void **)&sampler);
Header info can generate from quartz.dll and qedit.dll
Title: Re: DirectShow silly example
Post by: Grincheux on February 11, 2016, 03:48:32 AM
Your program works perfectly on my pc. I have rebuild it, no errors and it does what it says.
I was interested for having a web page in a program. So I decided to pump the code relative to Atl, but I can't
Pelles'C doest not reconize AtlAxInit in my program I looked at the compile option, we have the same.
Except I compile for Win64.