Api libraries – ProSoft Technology MVI69-ADMNET User Manual

Page 56

Advertising
background image

Understanding the MVI-ADMNET API

MVI-ADMNET ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module with Ethernet

Page 56 of 122

ProSoft Technology, Inc.

February 20, 2013

4.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.

4.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.

4.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.

4.1.3 Sample Code

A sample application is provided to illustrate the usage of the API functions. Full
source for the sample application is also provided. The sample application may
be compiled using Digital Mars 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