Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,152 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,120 people online right now. Registration is fast and FREE... Join Now!




MP3 and Music Video Player in C++

 
Reply to this topicStart new topic

MP3 and Music Video Player in C++

87ASC
11 Apr, 2007 - 03:16 PM
Post #1

New D.I.C Head
*

Joined: 23 Mar, 2007
Posts: 44


My Contributions
I want to create a program that can play MP3's and Music Videos (Want to do a GUI but don't know how so that's for later biggrin.gif ). Since the first one won't have a GUI I want to make it so that the program play's the MP3's but for Music Videos it would open up Windows Media Player and playing it. Anyone know what the code would be to play a MP3, sound file or Music Video?
Thanks.

This post has been edited by 87ASC: 11 Apr, 2007 - 03:48 PM
User is offlineProfile CardPM
+Quote Post

NickDMax
RE: MP3 And Music Video Player In C++
12 Apr, 2007 - 04:59 AM
Post #2

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,858



Thanked: 49 times
Dream Kudos: 550
My Contributions
You want to look into MCI and spacificly the "vfw.h" (video for windows).

The best place to start is to go to google and type "vfw C++" and "vfw mp3"

Then it is off to MSDN to learn about the MCI (mulimedia control interface --I think) and the VFW functions. I would look for an older version of the platform SDK that would have more information w/o all the .NET stuff tied in. (unless .NET is fine with you).

There are a lot of other libraries.

You can also look into using the Windows Media Player control.

There are other 3rd party libraries that are very good.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 11:10PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month