QtCreator (MinGW[GCC.4.6.0])
QAxObject *pGraphBuilder = new QAxObject(this);
pGraphBuilder->setControl("{56a868a9-0ad4-11ce-b03a-0020af0ba770}");
if(pGraphBuilder->isNull()) {
qFatal("Can't create pGraphBuilder");
return false;
}
компилер выдает:
QAxBase::setControl: requested control {56a868a9-0ad4-11ce-b03a-0020af0ba770} could not be instantiated
на винапи (VS2008):
// Create the Filter Graph Manager.
HRESULT hr = CoCreateInstance(CLSID_FilterGraph, NULL,
CLSCTX_INPROC_SERVER, IID_IGraphBuilder, (void **)&pGraphBuilder);
if (FAILED(hr)) {
return false;
}
все норм.
в чем причина не пойму...