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 (note the order of the arguments):
implib dicrpki_b.lib diCrPKI.dll
To compile with Borland C++:
bcc32 mysource.c dicrpki_b.lib