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 diCryptoSys.lib diCryptoSys.dll
To compile with Borland C++:
bcc32 myapisource.c diCryptoSys.lib