| Copyright Notice: This article for Bo Master original article, without Bo Master permission not reproduced.
Because this multimedia course design to do an MFC-based player, because I am too powerful too dishes, need to play music or video files, I can not write the decoding
function, so prepare to use a third-party multimedia library or a third-party control to play, to find out or to use the Windows Media Player control to write a comparison
Convenient, so the player's production is mainly based on the media Player control, because the Microsoft platform has encapsulated a series of decoding methods (such as sound solution
and video decoding) and some common methods of operation (such as increased sound volume, fast forward, etc.), so using the media Player control can quickly implement our playback
Development of the device.
First of all: to use MediaPlayer this control to develop the player, then our first step to understand is the MediaPlayer control of some common methods (functions) and
Properties, the introduction of this function is explained in the next section of the blog.
Second: We want the interface of the player, so we want to be familiar with MFC (Microsoft Foundation Classes, Microsoft Foundation Class Library), MFC is a Microsoft company
Class libraries, which encapsulates the Windows API in the form of a C + + class, and contains an application framework to reduce application developers
The workload. It contains classes that contain a large number of Windows handles encapsulating classes and many of the built-in controls and components of Windows.
Finally: We want to have an IDE (integrated development environment) that uses Microsoft Visual C + + 6.0 or VS2013 (Visual Studio 2013)
The following is a successful example:
Introduction to the production of media Player player based on MFC