令人头疼的error LINK2001错误。
windows编程,困扰好几天了,出现诸如error LNK2001: unresolved external symbol __imp__waveOutClose@4错误,后来通过查资料添加了一个winmm.lib库,运行通过但显示需要windows NT系统,我的就是windows NT啊,求助啊!
Record1.zip
(2.98 KB)
BOOL CALLBACK DlgProc (HWND, UINT, WPARAM, LPARAM) ; TCHAR szAppName [] = TEXT ("Record1") ; int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { if (-1 == DialogBox (hInstance, TEXT ("Record"), NULL, DlgProc)) { MessageBox (NULL, TEXT ("This program requires Windows NT!"), szAppName, MB_ICONERROR) ; } return 0 ; } …………