Discussion:
class not registered ERROR!!
(too old to reply)
sreejith p das
2008-02-01 06:50:42 UTC
Permalink
hai all,

When I was trying to initialize a decoder DMO , I got an error when
debugging the following code:

IBaseFilter *pFilter;
hr = CoCreateInstance(CLSID_DMOWrapperFilter, NULL,
CLSCTX_INPROC_SERVER, IID_IBaseFilter,
reinterpret_cast<void**>(&pFilter));
if(S_OK == hr)
{
IDMOWrapperFilter *pDmoWrapper;
if(FAILED(hr = pFilter->QueryInterface(IID_IDMOWrapperFilter,(void **)
&pDmoWrapper)))
{
return hr;
}
hr = pDmoWrapper->Init(CLSID_CWMVDecMediaObject2,
DMOCATEGORY_VIDEO_DECODER); //Error in this line

pDmoWrapper->Release();

IMediaObject *pMediaObject;
hr = pDmoWrapper->QueryInterface(IID_IMediaObject,(void **)&pMediaObject)
;
DMO_MEDIA_TYPE* pmt;
hr = pMediaObject->GetInputType(1,1,pmt);
}

the value of hr returned -2147221164 (class not registered).

I didn't understand what is to be done to clear the error. Can any one help
me??

url:http://www.ureader.com/gp/1405-1.aspx
The March Hare [MVP]
2008-02-01 07:04:39 UTC
Permalink
Post by sreejith p das
When I was trying to initialize a decoder DMO , I got an error when
How did you miss all the posts in this newsgroup that say:

"This newsgroup is no longer active. Please see..."?

I recommend you read one of them.
--
Microsoft MVPs: http://www.microsoft.com/mvp and
MVPs.org site http://www.mvps.org
My dshow site: http://tmhare.mvps.org
Loading...