FirmaSAT Manual

C/C++ Programming

To call from a C or C++ program using the ANSI C functions, add

#include diFirmaSAT2.h

to your source code and link with the diFirmaSAT2.lib library. For more details on the core functions you can call from C or C++, see the include file diFirmaSAT2.h and the test code in TestFirmaSat.c, both included in the distribution. If you get errors, see Error codes. Make sure you allocate memory for the output string buffers: see Pre-dimensioning szOut below.

#include <stdio.h>
#include "diFirmaSAT2.h"
int main(void) 
{
   long version;
   version = SAT_Version();
   printf("Version=%ld\n", version);
   return 0;
}
[PREV: Example batch file...]   [Contents]   [Index]   
   [NEXT: Pre-dimensioning szOut...]

Copyright © 2007-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-04-08T04:07:56Z.