close

Question:

S_USBPlugTestDlg.obj : error LNK2001: unresolved external symbol __imp__GlobalMemoryStatusEx@4

Dedug/3S_USBPlugTest.exe : fatal error LNK1120: 1 unresolved externals

 

[MFC]error LNK2001: unresolved

 

 

 

Because:

too many versions of Kernel32.lib

[MFC]error LNK2001: unresolved

 

 

Solution:

1.Copy the correct version of lib ( from x86 folder) to source code

[MFC]error LNK2001: unresolved

 

2.Create Lib folder in souce code

[MFC]error LNK2001: unresolved

 

3.add lib:

#pragma comment(lib, "Kernel32.lib")

[MFC]error LNK2001: unresolved

 

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 天才R 的頭像
    天才R

    做 個 有 趣 的 人

    天才R 發表在 痞客邦 留言(0) 人氣()