■■■ PlaySound 的问题,请前辈指点 ■■■
小弟初学VC,在程序中使用了PlaySound函数后,总通过不了编译,请问是怎么回事啊。
#include <windows.h>
#include <windowsx.h>
#include <mmsystem.h>
#include <stdlib.h>
#include <stdio.h>
..............
PlaySound("wave_start",hApp,SND_RESOURCE|SND_SYNC);
PlaySound("wave_music",hApp,SND_RESOURCE|SND_LOOP|SND_ASYNC);
错误信息:
error LNK2001: unresolved external symbol __imp__PlaySoundA@12
谢谢!!