Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

mfplay.dll missing file

$
0
0
Hi,

I'm working using Vista Ultimate and I've been tried to implement the Media Foundation samples.

I installed, the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1: BETA, and I uninstalled my previous SDK (Windows SDK for Windows Server 2008 and .NET Framework 3.5), and now I have several problems, first when I try to do the MFStartup function it returns me the MF_E_BAD_STARTUP_VERSION value.

my code has the following lines:

#include

<mfapi.h>
#include<mfplay.h>

#pragma

comment(lib, "mf")
#pragmacomment(lib, "mfplat")
#pragmacomment(lib, "mfplay")

// Global Variables

IMFPMediaPlayer *g_pPlayer = NULL;

// Create the player object and play a video file.
const WCHAR *sURL = L"C:\\Butterfly.wmv";
HRESULT hr = MFPCreateMediaPlayer(
    sURL, TRUE,
// Start playback automatically?
    0, // Flags.
    NULL, // Callback pointer.
    wndHandle,
    &g_pPlayer
);


 But when I try to run it I get an exception that saids that the mfplay.dll was not found.

I also need to install another package?? If so, what is that package?

This getting starting process has been really frustraiting because does not there a good tutorial just to install the correct packages, please if you know how to solve this problem HELP ME !!!!

- Enby.

Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>