View Single Post
Old 8th March 2007, 18:14   #598  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Hey guys,

I'm trying to get an instance of the ffdShow Audio Processor in my little Delphi program. But I'm desperately failing. This returns "class not registered":

Code:
const ffdShowAudioProcessor : TGuid = '{B86F6BEE-E7C0-4D03-8D52-5B4430CF6C88}';

CoCreateInstance(ffdShowAudioProcessor, nil, CLSCTX_ALL, IID_IBaseFilter, ffdShow);
The very same code works for every other DShow filter I've tried - but not for ffdShow. This code works:

Code:
CoCreateInstance(ffdShowAudioProcessor, nil, CLSCTX_ALL, IID_IUnknown, ffdShow);
However, trying to get an IBaseFilter interface (by using QueryInterface) again fails.

Can anybody help, please?
madshi is offline   Reply With Quote