Sign in to follow this  

hwo to use DirectShow's Generate still video filter?

This topic is 4418 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to load a pic using DirectShow's Generate still video Someone told me the filter's CLSID is CLSID:{7DF62B50-6843-11D2-9EEB-006008039E37} But how could I use it with my CoCreateInstance function? the following code did not work... HRESULT hr = CoCreateInstance(CLSID:{7DF62B50-6843-11D2-9EEB-006008039E37} , 0, CLSCTX_INPROC_SERVER,IID_IBaseFilter, (void **)(&pSourceFilter));

Share this post


Link to post
Share on other sites
I add the code in my head file:
DEFINE_GUID(CLSID_GSV,0x7DF62B50,0x6843,0x11D2,0x9E,0xEB,0x0,0x60,0x08,0x03,0x9E,0x37);

but there is still a error:

error LNK2001: unresolved external symbol _CLSID_GSV

how to fix it ?

how could i link qedit.dll to my project?

Share this post


Link to post
Share on other sites

This topic is 4418 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this