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
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