Here is some minimal C code:-
/* myprog.c */ #include <stdio.h> #include "diCrPKI.h" int main(void) { long version; version = PKI_Version(NULL, NULL); printf("Version=%ld\n", version); return 0; }
To compile with MSVC++:
cl myprog.c diCrPKI.lib
Running this program should result in something similar to
Version=120300
where the actual number displayed depends on which version you have installed.