# Dependency on absent Media Foundation dlls

**URL:** https://qa.fmod.com/t/dependency-on-absent-media-foundation-dlls/16055
**Category:** FMOD Engine
**Tags:** windows
**Created:** [August 6, 2020, 9:02am UTC](https://qa.fmod.com/t/dependency-on-absent-media-foundation-dlls/16055 "2020-08-06T09:02:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Andrey](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@Andrey](https://qa.fmod.com/u/Andrey)
#### Post date: [August 6, 2020, 9:02am UTC](https://qa.fmod.com/t/dependency-on-absent-media-foundation-dlls/16055/1 "2020-08-06T09:02:08Z")

</div>

Apparently building an app against fmod dlls creates a dependency on mfplat.dll (and mfreadwrite.dll) of Microsoft Media Foundation. This becomes a problem when MMF is absent, as it is in some Windows editions. The app window closes immediately after launch, and no explanation is given to the user. Digging around reveals a system error:

> The code execution cannot proceed because MFPlat.DLL was not found. Reinstalling the program may fix this problem.

As far as I can tell none of our code is executed by that point, not seeing how to approach fixing this. Is there (/will be) a configuration switch or an option I am missing that would allow the app to start when a dependency dll is not present, even if with no sound?

---

<div class="post-metadata">

### Author: ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)
#### Post date: [August 6, 2020, 10:52pm UTC](https://qa.fmod.com/t/dependency-on-absent-media-foundation-dlls/16055/2 "2020-08-06T22:52:20Z")

</div>

mfplat.dll is a dependency of our UWP build of FMOD, firstly can you confirm you are building a Windows 10 UWP app? For normal Windows desktop applications use our Windows build instead.

If you are building a UWP app, can you share which version of Windows is missing the dependent mfplat.dll?

---

<div class="post-metadata">

### Author: ![Andrey](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@Andrey](https://qa.fmod.com/u/Andrey)
#### Post date: [August 7, 2020, 7:32am UTC](https://qa.fmod.com/t/dependency-on-absent-media-foundation-dlls/16055/3 "2020-08-07T07:32:50Z")

</div>

Yes, it is an UWP app. And I have been testing on Windows N.

---

<div class="post-metadata">

### Author: ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)
#### Post date: [August 11, 2020, 1:34am UTC](https://qa.fmod.com/t/dependency-on-absent-media-foundation-dlls/16055/4 "2020-08-11T01:34:23Z")

</div>

Thanks for the info, after doing some reading I can see Windows N does not have any support for Windows Media Foundation, which FMOD uses and has a dependency on. To get a Windows N machine working you will need to install the Media Feature Pack for Windows 10 N.

I will add a task to our backlog to investigate making our use of Media Foundation optional.
