sdeguire
asked on
DirectDraw+ActiveMovie problem...
I want to know how my application can use DirecDraw interface from DirectX3 and the AvctiveMovie interface,
because now the both in two different apps work fine
but in the same apps look's bad and the way it's look to
me I got to pass somehow to ActiveMovie de DirectDraw pointer I create but doesn't work like the way I think
here's my code where I initialize some interface for
ActiveMovie :
CoCreateInstance(CLSID_Fil terGraph, NULL, CLSCTX_INPROC_SERVER, IID_IGraphBuilder,(void **) &pGB);
pGB->QueryInterface(IID_IM ediaEvent, (void **)&pME);
pGB->QueryInterface(IID_IM ediaPositi on,(void** )&pMP);
pGB->QueryInterface(IID_IV ideoWindow ,(void**)& vMP);
pGB->QueryInterface(IID_IM ediaContro l,(void **)&pMC);
////////////////////////// ////////// ////////// ////////// ////
// Why this query don't work like others ????
pGB->QueryInterface(IID_ID irectDrawV ideo, (void **)&pDD);
pDD->SetDirectDraw(pDDraw) ;
Thank You in advance for your great help...
because now the both in two different apps work fine
but in the same apps look's bad and the way it's look to
me I got to pass somehow to ActiveMovie de DirectDraw pointer I create but doesn't work like the way I think
here's my code where I initialize some interface for
ActiveMovie :
CoCreateInstance(CLSID_Fil
pGB->QueryInterface(IID_IM
pGB->QueryInterface(IID_IM
pGB->QueryInterface(IID_IV
pGB->QueryInterface(IID_IM
//////////////////////////
// Why this query don't work like others ????
pGB->QueryInterface(IID_ID
pDD->SetDirectDraw(pDDraw)
Thank You in advance for your great help...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER