error LNK2001: unresolved external symbol

来源:互联网 发布:js里怎么点击放大图片 编辑:程序博客网 时间:2024/04/29 11:02

I am developing a program in which I am using Crypt32 libraries, but when I compiled it I encountered 3 errors

CertImportDlg.obj : error LNK2001: unresolved external symbol __imp__CertGetNameStringW@24
CertImportDlg.obj : error LNK2001: unresolved external symbol __imp__PFXImportCertStore@12
CertImportDlg.obj : error LNK2001: unresolved external symbol __imp__PFXIsPFXBlob@4
Debug/CertImport.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

Earlier I thought that i didn't include any library. But It is included "Crypt32.Lib" in settings.

搞了一下午,终于搞定的东西......