Hello, I'm trying to add audio to my game, and to load audio files I want to use the Media Foundation, however when i try to initialize it with this line:
it crashes, before the program even loads with the following error:
"Unable to activate Windows Store App '031...'. The process started but failed with error 'The App didn't start'."
If I uncomment this line the game starts, but I need it to use audio, what am I doing wrong?