Make your own music player using MCISendString

12/10/2013 21:40 elmarcia#1
This is a very simple music player using MCISendString commands.
[Only registered and activated users can see links. Click Here To Register...]

I made some functions to make it easy undestand and add a lot of comments.

Ok make a new empty console project in VC++ add these files to your project. You have to link or add this to your project in order not to have linker errors
#pragma comment(lib,"winmm.lib")

MP3Player.cpp: //in this cpp we declare all the functions related with our mp3Player 3 of them are commented i will explain them later.


MP3Player.h : //has the structure of our mp3player and the declarations of the functions.


main.cpp:

This music player will only find mp3 music in one folder at once. Why don't you try to modify the code and make it work with all formats (mp4,wav,etc) and to search in different folders inside the one you selected (clue you can modify the function FindInFolders which is commented) also use getFileAttributes to find out if it is a file or a folder.

Best Wishes and happy codding :)
12/10/2013 23:59 +Yazzn#2
TBH Your code looks horrible.

P.S.: I'll edit my post within the next days and go into detail (if somebody else didn't do that already by then)
12/11/2013 00:10 Dr. Coxxy#3
its troll anyway.
12/16/2013 17:25 MrSm!th#4
#moved