Print Page | Close Window

Linker errors

Printed From: TMS Software
Category: VCL Components
Forum Name: VCL / FMX Cryptography Pack
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=12768
Printed Date: 19 Aug 2019 at 6:03am


Topic: Linker errors
Posted By: Kovacevic Zeljko
Subject: Linker errors
Date 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.



Replies:
Posted By: Marion Candau
Date 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


Posted By: Kovacevic Zeljko
Date Posted: 03 Jan 2019 at 3:46pm
It works! Thanks!



Print Page | Close Window