Page 1 of 1

Linking problem

Posted: Sat 15 Dec 2007 21:20
by chihebbs
When Linking a project using Securebridge I have these errors [ILINK32 Error] Error: Unresolved external 'CertCloseStore' referenced from D:\PROGRAM FILES\CODEGEAR\RAD STUDIO\5.0\LIB\SBRIDGE105.LIB|ScCryptoAPIStorage

Posted: Mon 17 Dec 2007 08:29
by Dimon
TScStorage works with certificates through CryptoAPI. Make sure that CryptoAPI is installed on your computer.

Posted: Mon 17 Dec 2007 14:09
by chihebbs
In delphi personality there is no problem.

But when linking in C++ personality I get the above reported error.

Thank you in advance for helping

Posted: Mon 17 Dec 2007 15:28
by Dimon
In order to work with CryptoApi using the C++Builder personality, you should add the crypt32.lib library to your project. You will find this library in the $(BCB)\lib\PSDK\ folder.

Posted: Mon 17 Dec 2007 19:16
by chihebbs
Including the crypt32.lib in the project solved the link problem.

Thank you for the excellent support.