Play mp3 on Pocket PC with VS ++ code

Does anyone know any mp3 code for a pocket pc.
I have 3 mp3s that I want to play when my application loads, depending on how you enter.

I used VS2005 C ++ to encode what I have.

I think the code to play mp3 for the table can handle this. But I might not have access to the library, so I was specific.

+3
source share
2 answers

I know the question is in C ++, but there is a good point here. Also, as you say, code that works for your table can also work on Pocket PC.

So, I worked with the Windows Mobile application in C #, which had a reminder function, and we used the wmplib library (Windows Media Player) to play songs (including mp3).

wmp.dll , c:\Windows\System32 ( - Windows). :

private WMPLib.WindowsMediaPlayer player = new WMPLib.WindowsMediaPlayer();
// url is the path of the file
private void PlayFile(String url)
{

    player = new WMPLib.WindowsMediaPlayer();
    player.URL = url;
    player.settings.volume = 100;
    player.controls.play();
}

++ ,

+1

All Articles