Hi,
I'm trying to get the mciSendString working to play a mp3 file.
But when I try to compile I get the following error: fatal error LNK1120: 1 unresolved externals
I can't seem to find the problem.
My function is quite simple:
1 2 3 4 5 6
void play_mp3() {
mciSendString(L"open \C:\Documents and Settings\Simon\Dokumenter\Musik\2pm\ type mpegvideo alias MediaFile", NULL, 0, NULL);
mciSendString(L"play Mediafile", NULL, 0, NULL);
}