C++, MCI vs MFC programming in Visual Studio 2010 for a very basic (play /stop) MP3 player

Posted on 2011-04-22
Last Modified: 2013-11-13
I am totally new to C++ and I've only had a very initial ("hello world") experience with MFC programming. I am doing my research before I am able to start building a very simple MP3 player from scratch (only stop and pause/play buttons), and then customize it for my own needs.

I would like the MP3 player to be stand alone without any dependencies on pre-installed Windows Player and other Framework installation demands.

I have googled "C++ MFC MP3 player" but I have not have come from a very basic starting point. The only thing I discovered is that "MCI controls" for C++ which confused me even more. What is the difference between MCI and MFC for this reason?

Promise for FULL POINTS GIVEN INSTANTLY IN maximum 3 hours after the starting hour this thread.
(With the condition that an integrated answer is given first)

Thank you so much

Question by:New_Alex
    LVL 12

    Accepted Solution

    MCI is an acronym for Media Control Interface. This is in no way related to the Microsoft Foundation Class (MFC) libraries.

    Using MCI you can write a simple C++ application to play a sound file or maybe even record it if you have a microphone attached to your PC.

    Have a look at the following links rather than me repeat what is already there

    But the trend nowadays is to use the DirectX library which is once again maintained by Microsoft. Your mp3 player might be more current if you use the DirectX SDK
    LVL 86

    Assisted Solution

    You might find the following article interesting in that context: ("A very simple MP3 Player")
    LVL 33

    Assisted Solution

    by:Todd Gerbert
    LVL 1

    Author Closing Comment

    Thanks all of you guys. Particularly trinitrotoluene gave a true light....

    Take care

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
    Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
    The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now