VC++6.0中使用micSendString()时出错,求大神帮助

VC++6.0中使用micSendString()时出错,求大神帮助

问题描述:

我刚学习了micSendString()函数,对这个函数及其使用方法不是很了解。在VC++6.0中输入以下语句后总是出错,但并不知道是哪里出了问题,通过网上搜索试了很多方法,仍不能解决。请大神帮忙解决,谢谢!
源程序如下:
#include "mmsystem.h"
#pragma comment(lib,"winmm.lib")
void main()
{
mciSendString("open F:\k\121.mp3",NULL,0,0);
}
部分错误提示如下:
d:\green\vc6\vc98\include\mmsystem.h(113) : error C2061: syntax error : identifier 'MMVERSION'
d:\green\vc6\vc98\include\mmsystem.h(117) : error C2061: syntax error : identifier 'MMRESULT'
d:\green\vc6\vc98\include\mmsystem.h(121) : error C2061: syntax error : identifier 'FAR'
………………