Hallo leute!
Mit dem source
Spielt die anwendung keinen sound ab.Code:// Media Player.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <windows.h> #include <Mmsystem.h> #pragma comment(lib,"Winmm.lib") int main() { mciSendString(_T("open file.mp3"), NULL, 0, NULL); mciSendString(_T("sound.mp3 play"), NULL, 0, NULL); mciSendString(_T("close file.mp3"), NULL, 0, NULL); return 0; }
Die quelle ist: http://www.online-tutorials.net/sons...s-t-24-51.html
Danke für hilfe!
MfG errox