filter的COM接口
我想问个问题啊
我把一个sourcefilter编译了,程序不想注册
想通过COM形式,写个函数接口 ,直接通过dll调用sourcefilter,返回filter实例
我这样写对吗?C#调
extern "C" CAsyncFilter* __declspec(dllexport) ReturnFilter(HRESULT *phr) //105行{ //106行CAsyncFilter *casync = new CAsyncFilter(NULL,phr);return *casync;}