Advertisement

Problems with MFStartup(MF_VERSION)

Started by February 09, 2016 09:19 AM
1 comment, last by Bj 8 years, 10 months ago

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:

MFStartup(MF_VERSION);

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? :O

/Björn

Ah, this was supposed to go into 'For beginners' :O

Advertisement

It appears i had the wrong version of Windows Media Feature pack installed.

Downloading this one fixed the problem:

https://www.microsoft.com/en-US/download/details.aspx?id=49919

This topic is closed to new replies.

Advertisement