RSA2048 icon indicating copy to clipboard operation
RSA2048 copied to clipboard

LNK2019 unresolved external symbol __imp_CryptBinaryToStringW referenced in function Base64EncodeW RSA2048

Open freelycoder opened this issue 6 years ago • 1 comments

Hi,when compile with vs2013,show error LNK2019 unresolved external symbol __imp_CryptBinaryToStringW referenced in function Base64EncodeW RSA2048 ,what can i do for this?

freelycoder avatar Jun 21 '19 09:06 freelycoder

if you have tried linking the correct libraries and did not work, then adding #pragma comment(lib, "crypt32.lib") in the main.c solved my issue. found here: https://social.msdn.microsoft.com/Forums/en-US/bd8e498b-32f8-4384-94bb-fcbcb0ff98e8/cant-link-with-crypt32lib?forum=windowssdk

NeuralDip avatar Nov 24 '20 08:11 NeuralDip