如何在工程中使用waveIn系列的函数?
--------------------Configuration: voicerealtimegather - Win32 Debug--------------------
Linking...
voicerealtimegatherDlg.obj : error LNK2001: unresolved external symbol __imp__waveInGetNumDevs@0
Debug/voicerealtimegather.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
voicerealtimegather.exe - 2 error(s), 0 warning(s)
我添加了头文件的
#include <Mmsystem.h>
void CVoicerealtimegatherDlg::OnBUTTONstar()
{
// TODO: Add your control notification handler code here
UINT i=0;
i=waveInGetNumDevs();
}
编译没有错的,就是执行的时候有错。