Linking problem

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
chihebbs
Posts: 46
Joined: Tue 05 Jun 2007 20:06

Linking problem

Post by chihebbs » Sat 15 Dec 2007 21:20

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

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 17 Dec 2007 08:29

TScStorage works with certificates through CryptoAPI. Make sure that CryptoAPI is installed on your computer.

chihebbs
Posts: 46
Joined: Tue 05 Jun 2007 20:06

Post by chihebbs » Mon 17 Dec 2007 14:09

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

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 17 Dec 2007 15:28

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.

chihebbs
Posts: 46
Joined: Tue 05 Jun 2007 20:06

Post by chihebbs » Mon 17 Dec 2007 19:16

Including the crypt32.lib in the project solved the link problem.

Thank you for the excellent support.

Post Reply