Api libraries – ProSoft Technology MVI69-ADM User Manual

Page 26

Advertising
background image

Understanding the MVI-ADM API

MVI-ADM ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module

Page 26 of 342

ProSoft Technology, Inc.

February 20, 2013

3.1

API Libraries

Each API provides a library of function calls. The library supports any
programming language that is compatible with the Pascal calling convention.

Each API library is a static object code library that must be linked with the
application to create the executable program. It is distributed as a 16-bit large
model OMF library, compatible with Digital Mars C++ or Borland development
tools.

Note: The following compiler versions are intended to be compatible with the MVI module API:

Digital Mars C++ 8.49

Borland C++ V5.02

More compilers will be added to the list as the API is tested for compatibility with them.

3.1.1 Calling Convention

The API library functions are specified using the 'C' programming language
syntax. To allow applications to be developed in other industry-standard
programming languages, the standard Pascal calling convention is used for all
application interface functions.

3.1.2 Header File

A header file is provided along with each library. This header file contains API
function declarations, data structure definitions, and miscellaneous constant
definitions. The header file is in standard 'C' format.

3.1.3 Sample Code

A sample application is provided to illustrate the usage of the API functions. Full
source for the sample application is provided. The sample application may be
compiled using Digital Mars C++ or Borland C++.

Important: The sample code and libraries in the 1756-MVI-Samples folder are not compatible with,
and are not supported for, the Digital Mars compiler.

Advertising