Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

November 20, 2007

C++ Link Errors

The Chilkat C++ static libs are distributed as .zip downloads. Within the .zip there is a README.html that provides vital information about what additional Microsoft libraries are needed for linking your application.

Nobody ever reads the REAME.html. :(

If you find unresolved externals such as the following, you’ve forgotten to add crypt32.lib to your list of libraries for linking:

 error LNK2001: unresolved external symbol __imp__CertVerifyRevocation@28
 error LNK2001: unresolved external symbol __imp__CryptDecodeObject@28
 error LNK2001: unresolved external symbol __imp__CertGetIntendedKeyUsage@16
 error LNK2001: unresolved external symbol __imp__CertFreeCertificateChain@4
 error LNK2001: unresolved external symbol __imp__CertFreeCertificateChain@4
 error LNK2001: unresolved external symbol __imp__CertFreeCertificateChainEngine@4
 error LNK2001: unresolved external symbol __imp__CertGetCertificateChain@32
 error LNK2001: unresolved external symbol __imp__CertGetCertificateChain@32
 error LNK2001: unresolved external symbol __imp__CertCreateCertificateChainEngine@8
 error LNK2001: unresolved external symbol __imp__CertGetCertificateContextProperty@16
 error LNK2001: unresolved external symbol __imp__CertCreateCertificateContext@12
 error LNK2001: unresolved external symbol __imp__CertCreateCertificateContext@12
 error LNK2001: unresolved external symbol __imp__CryptAcquireCertificatePrivateKey@24
 error LNK2001: unresolved external symbol __imp__CryptAcquireCertificatePrivateKey@24
 error LNK2001: unresolved external symbol __imp__CertDuplicateCertificateContext@4
 error LNK2001: unresolved external symbol __imp__CertDuplicateCertificateContext@4
 error LNK2001: unresolved external symbol __imp__CertDuplicateCertificateContext@4
 error LNK2001: unresolved external symbol __imp__CertSetCertificateContextProperty@16
 error LNK2001: unresolved external symbol __imp__CertSetCertificateContextProperty@16
 error LNK2001: unresolved external symbol __imp__CertFreeCertificateContext@4
 error LNK2001: unresolved external symbol __imp__CertFreeCertificateContext@4
 error LNK2001: unresolved external symbol __imp__CertNameToStrA@20
 error LNK2001: unresolved external symbol __imp__CryptSignMessage@28
 error LNK2001: unresolved external symbol __imp__CryptEncodeObject@20
 error LNK2001: unresolved external symbol __imp__CryptVerifyDetachedMessageSignature@32
 error LNK2001: unresolved external symbol __imp__CryptDecodeMessage@52
 error LNK2001: unresolved external symbol __imp__CryptDecryptMessage@24
 error LNK2001: unresolved external symbol __imp__CryptEncryptMessage@28
 error LNK2001: unresolved external symbol __imp__CryptVerifyMessageSignature@28
 error LNK2001: unresolved external symbol __imp__CertCloseStore@8
 error LNK2001: unresolved external symbol __imp__CertCloseStore@8
 error LNK2001: unresolved external symbol __imp__CertOpenStore@20
 error LNK2001: unresolved external symbol __imp__CertOpenStore@20
 error LNK2001: unresolved external symbol __imp__CertOpenSystemStoreA@8
 error LNK2001: unresolved external symbol __imp__CertVerifyCertificateChainPolicy@16
 error LNK2001: unresolved external symbol __imp__CertDuplicateStore@4
 error LNK2001: unresolved external symbol __imp__CertEnumCertificatesInStore@8
 error LNK2001: unresolved external symbol __imp__CertFindCertificateInStore@24
 error LNK2001: unresolved external symbol __imp__CertAddEncodedCertificateToStore@24
 error LNK2001: unresolved external symbol __imp__CertAddCertificateContextToStore@16
 error LNK2001: unresolved external symbol __imp__CertSaveStore@24
 error LNK2001: unresolved external symbol __imp__CertDeleteCertificateFromStore@4
 error LNK2001: unresolved external symbol __imp__CertGetSubjectCertificateFromStore@12
 error LNK2001: unresolved external symbol __imp__CryptMsgClose@4
 error LNK2001: unresolved external symbol __imp__CryptMsgGetParam@20
 error LNK2001: unresolved external symbol __imp__CryptMsgUpdate@16
 error LNK2001: unresolved external symbol __imp__CryptMsgOpenToDecode@24
 error LNK2001: unresolved external symbol __imp__CertCreateSelfSignCertificate@32
 error LNK2001: unresolved external symbol __imp__CertStrToNameA@28
 error LNK2001: unresolved external symbol __imp__PFXExportCertStoreEx@20
 error LNK2001: unresolved external symbol __imp__PFXImportCertStore@12
 error LNK2001: unresolved external symbol __imp__PFXVerifyPassword@12


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.