Log in

View Full Version : DirectShow on CE 5.0 - failure to create IGraphBuilder


vl_
26th December 2009, 17:46
Hi,
I am trying to get the simple DirectShow player sample from MSDN to work on Windows Mobile 5.0 Pocket PC emulator:

IGraphBuilder *pGraph = NULL;
IMediaControl *pMediaControl = NULL;
CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC,
IID_IGraphBuilder, (void **)&pGraph);
CoCreateInstance return "success" status, and GetLastError gets me the message "successful complition" but pGraph pointer is NULL after the "CoCreateInstance".
Any advise on what the problem might be?
Thanks,
-V

vl_
27th December 2009, 04:51
... works with CLSCTX_INPROC_SERVER