playsound函数在VC6.0无法使用
#include<windows.h>#include"Mmsystem.h"#pragmacomment(lib,"winmm.lib")我都用了还是报错errorC2...
#include<windows.h>
#include "Mmsystem.h"
#pragma comment(lib, "winmm.lib")
我都用了
还是报错
error C2065: 'PlaySound' : undeclared identifier
error C2065: 'SND_RESOURCE' : undeclared identifier
error C2065: 'SND_ASYNC' : undeclared identifier
error C2065: 'SND_LOOP' : undeclared identifier 展开
#include "Mmsystem.h"
#pragma comment(lib, "winmm.lib")
我都用了
还是报错
error C2065: 'PlaySound' : undeclared identifier
error C2065: 'SND_RESOURCE' : undeclared identifier
error C2065: 'SND_ASYNC' : undeclared identifier
error C2065: 'SND_LOOP' : undeclared identifier 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询