A problem with the sample "playwnd" in platform builder

When I using the function CoCreateInstance() in EVC4, the return value of the funtion always equals -2147221164.How can I deal with the problem I have already use

CoInitializeEx(NULL, COINIT_MULTITHREADED) to initialize com.



Answer this question

A problem with the sample "playwnd" in platform builder

  • alexthedeveloper

    What filter are you trying create an instance of

    The return value is an error indicating an unregistered class

    //

    // MessageId: REGDB_E_CLASSNOTREG

    //

    // MessageText:

    //

    // Class not registered

    //

    #define REGDB_E_CLASSNOTREG _HRESULT_TYPEDEF_(0x80040154L)



  • P-Storm

    Thank you!

    I built a new sdk including directshow component, then the application can run on the new sdk platform.


  • mrsmith

    I want to use DirectShow on Wince platform.

    Is it because the standard sdk lacks some components


  • CARPe

    Windows CE typcially has many scaled down functions.  MSDN documents the DirectShow capabilities online for Windows CE, just start there.

  • A problem with the sample "playwnd" in platform builder