close
Question:
S_USBPlugTestDlg.obj : error LNK2001: unresolved external symbol __imp__GlobalMemoryStatusEx@4
Dedug/3S_USBPlugTest.exe : fatal error LNK1120: 1 unresolved externals
Because:
too many versions of Kernel32.lib
Solution:
1.Copy the correct version of lib ( from x86 folder) to source code
2.Create Lib folder in souce code
3.add lib:
#pragma comment(lib, "Kernel32.lib")
全站熱搜