hashbrown

Hi,

I get the following error when I try to create a PMPSession with a PROTECTED_PROCESS :

"exception processing message 0xc000007b parameters 0x75CB023C .."

This error happens even before my ITA is initialized. My source gets created successfully and is in the app/user process.

Any reason why this happens



Re: Media Foundation Development PMP Creation Errors

Becky Weiss - MSFT

Got a couple questions for you:

  1. Can you just try playing regular old Windows Media DRM content in the Windows Media Player (There's some free test content at http://wmtap.smdisp.net/janus if you don't happen to have any on hand). While it's playing, see if mfpmp.exe is running and let me know.
  2. Forget protected process... Does the DLL with your ITA load in a regular process






Re: Media Foundation Development PMP Creation Errors

hashbrown

Hi Becky,

1. Yes mfpmp runs with wmp and protected content. It also runs during my own pmp creation wiht the above error.

2. The error above happens even before the ITA loads (so I'm thinking something to do with source instantiation. But yes, the ITA does load in a regular process.





Re: Media Foundation Development PMP Creation Errors

Becky Weiss - MSFT

All right. Can you try calling SetErrorMode( SEM_FAILCRITICALERRORS ) at the beginning of your application and tell me whether this error dialog goes away






Re: Media Foundation Development PMP Creation Errors

hashbrown

Hi Becky,

The error did go away with that specific ErrorMode, although isn't this just masking a potential problem

Anyhow, after supressing the error message, now I get a MF_E_UNSUPPORTED_BYTESTREAM_TYPE when trying to create my media source inside of PE. (This does not happen when it is not created remotely).

Also, my ITA creation returns a E_ACCESSDENIED ERROR now (with or without creating source in PE)

Any ideas/thoughts on this

Thanks!





Re: Media Foundation Development PMP Creation Errors

Becky Weiss - MSFT

It is possible that something is trying to load in the PMP protected environment that has not been appropriately signed for the Protected Environment (if you don't know what I'm talking about, then this is definitely the case! :-) )

Have you tried doing this all with the MFPMPSESSION_UNPROTECTED_PROCESS flag set I'm trying to figure out whether this has to do with loading unapproved binaries into a protected process.