Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

Linker errors

 Post Reply Post Reply
Author
Kovacevic Zeljko View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28 May 2010
Posts: 285
Post Options Post Options   Quote Kovacevic Zeljko Quote  Post ReplyReply Direct Link To This Post Topic: Linker errors
    Posted: 01 Jan 2019 at 9:29am
Hello and happy new year :)

I get linker errors in C++ Builder 10.2 when compiling the project without runtime linking and without runtime packages. To reproduce, create new VCL forms application, choose settings above and place TSHA2Hash component on the form.

[ilink32 Error] Error: Unresolved external 'BCryptOpenAlgorithmProvider' referenced from C:\USERS\ZELJKO\DOCUMENTS\TMSSOFTWARE\TMS CRYPTOGRAPHY PACK\DELPHI102TOKYO\WIN32\RELEASE\TMSCRYPTOPKGDXE11.LIB|MiscObj
[ilink32 Error] Error: Unresolved external 'BCryptGenRandom' referenced from C:\USERS\ZELJKO\DOCUMENTS\TMSSOFTWARE\TMS CRYPTOGRAPHY PACK\DELPHI102TOKYO\WIN32\RELEASE\TMSCRYPTOPKGDXE11.LIB|MiscObj
[ilink32 Error] Error: Unresolved external 'BCryptCloseAlgorithmProvider' referenced from C:\USERS\ZELJKO\DOCUMENTS\TMSSOFTWARE\TMS CRYPTOGRAPHY PACK\DELPHI102TOKYO\WIN32\RELEASE\TMSCRYPTOPKGDXE11.LIB|MiscObj

A newest version is installed.
Back to Top
Marion Candau View Drop Down
Member
Member
Avatar

Joined: 12 Aug 2016
Posts: 64
Post Options Post Options   Quote Marion Candau Quote  Post ReplyReply Direct Link To This Post Posted: 03 Jan 2019 at 8:54am
Hi Zeljko,
To use the library with C++ Builder, you need to add bcrypt.lib to your project. You can download it here : https://www.cyberens.fr/bcrypt.lib
Best regards,
Marion
Back to Top
Kovacevic Zeljko View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28 May 2010
Posts: 285
Post Options Post Options   Quote Kovacevic Zeljko Quote  Post ReplyReply Direct Link To This Post Posted: 03 Jan 2019 at 3:46pm
It works! Thanks!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down