The lib file distributed with the program is made using MSVC. With Borland you need to generate a new .lib file directly from the DLL using the IMPLIB utility:
implib diCrPKI.lib diCrPKI.dll
To compile with Borland C++:
bcc32 mysource.c diCrPKI.lib