I see link errors when attempting to link an
application using CryptDuplicateHash() and
CryptDuplicateKey(). There are relatively new
functions, introduced only in Windows 98 and Windows
2000, and younger than most of the rest of CryptoAPI.
They are not declared in mingw 1.1's wincrypt.h.
bar.o: In function 'foo':
bar.c:749: undefined reference to `CryptDuplicateHash@16'
bar.o: In function `foo':
bar.c:779: undefined reference to `CryptDuplicateKey@16'
Log in to post a comment.