[Home] [Back] [Up] [<<] [>>]

C Libraries

To create reports using the C libraries:

Method 1 - reading the spec from a file

  1. Create a spec file using the StanReportConsole application.
  2. Call the LoadSpec function to read this spec.
  3. Call the Report function to create the report.
See ReportLibTest1.c for an example of this.

Method 2 - setting the spec programatically

  1. Set all the information required for the reporting using the Put functions.
  2. Call the Report function to create the report.
See ReportLibTest2.c for an example of this.

Compiling on LINUX

To compile using the C libraries:
  1. Copy the library file libiqreport.so to the library directory (eg. /usr/lib).
  2. Include the ReportLib.h file in your C/C++ file.
  3. Link to the library using the -liqreport option.