我起首就加mmsystem.h,不过他出现以下错误信息:
Bombard.obj : error LNK2001: unresolved external symbol __imp__mciSendStringA@16
Debug/Bombard.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.怎么办????????????/
Bombard.obj : error LNK2001: unresolved external symbol __imp__mciSendStringA@16
Debug/Bombard.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.怎么办????????????/
lib从MMSYSTEM.DLL生成的
Projects->Add Project->Component And Controls
点击Visual C++ Components,选择Windows Multimedia library
自动向StdAfx.h 文件添加
#include <MMSystem.h>
// CG: The following line was added by the Windows Multimedia component.
#pragma comment(lib, "winmm.lib")