Tools to use, Tools to use -4 – Rockwell Automation 1747-PCINT API Software for 1746 I/O User Manual

Page 20

Advertising
background image

2–4

Using the API

Publication 1747-6.5.3 June 1998

Tools to Use

The API functions support both Microsoft and Borland C compilers. The API disk
includes sample MAKE files for each compiler.

When you use the DOS API and link to

ocapil.lib

, use the appropriate command-

line switch to select the large memory model. For more information, see your user
manual for your compiler.

If you plan to use a programming language other than C, make sure the programming
language follows the appropriate calling convention (Pascal for the DOS API;
Win32 _stdcall for Windows NT). After you write your application, use your
compiler to link to

ocapil.lib

(DOS) or

ocapi.lib

(Windows NT).

Advertising
This manual is related to the following products: