我想播放一个“c:\a.wav”文件,我在project->setting->link->object/library modules后加载了winmm.lib,程序开头也包含了:
#include "mmsystem.h" 
#include<Windows.h>
#pragma comment( lib, "path\\Release\\Winmm.lib")#include "stdafx.h"
#include "ESun.h"
#include "ESunDoc.h"
#include "ESunView.h"
#include "Atixing.h"程序调用:PlaySoundW("",NULL,SND_LOOP);可就是没法通过,提示:
error C2065: 'PlaySoundW' : undeclared identifier到底怎么回事啊,望高手们指点一下,我在论坛里面找了,网上也找了,都试了很多次了还是不行