locked
MFCreateFile C00D36BB RRS feed

  • Question

  • i get a C00D36BB error when i call MFCreateFile. how can i fix it?

     

    here is my code:

     

    Code Snippet

    IMFByteStream* inputStream = null;
    HRESULT result = MFCreateFile(MF_ACCESSMODE_READ, MF_OPENMODE_FAIL_IF_NOT_EXIST, MF_FILEFLAGS_NONE, url, &inputStream);

     

     

    Wednesday, July 30, 2008 4:36 AM

Answers

  • In addition to Mike's suggestions, have you (successfully) called MFStartup?

    Wednesday, July 30, 2008 7:35 PM

All replies

  • C00D36BB  = MF_E_UNEXPECTED ... not the most helpful error code.

     

    Obvious questions:

     

    - The file exists?

    - You have read permissions to the file?

    - No other process has the file open?

     

     

     

     

    Wednesday, July 30, 2008 5:13 PM
  • In addition to Mike's suggestions, have you (successfully) called MFStartup?

    Wednesday, July 30, 2008 7:35 PM