CryptoSys PKI Pro Manual

Compiling with C

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.

[PREV: Type Conversions...]   [Contents]   [Index]   
   [NEXT: Using With Borland C++...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.