beautypg.com

Installing the windows nt api, Installing the windows nt api -6 – Rockwell Automation 1747-PCINT API Software for 1746 I/O User Manual

Page 14

background image

1–6

Overview

Publication 1747-6.5.3 June 1998

Installing the
Windows NT API

To install the Windows NT API, use the setup utility:

1. Insert the API diskette into a diskette drive.

It is recommended that you exit all applications before starting the setup process.

2. Select Run from the startup menu, then select the

setup.exe

program from the

API diskette.

3. Click on OK to execute the setup utility. Follow the displayed instructions. Click

on Next.

4. The next dialog lets you choose whether to install the API development and

executable files (Complete) or the API executable files (Runtime), or just the
API development files (Development). To develop applications with the API,
you need the development files. To only run applications, only the runtime files
are necessary. The development files consist of an include file, import library,
and sample code. The runtime files consist of a device driver and a dynamically-
linked library.

Important:

Runtime files may only be installed on a Windows NT system.
However, the development files may be installed on either
Windows NT or Windows 95 systems.

Choose the appropriate installation option and click on Next.

5. Specify the destination directory and click on Next.

6. The necessary files are copied to the disk, and the system registry is updated to

include the OCdriver information.

7. Choose whether to reboot the system now or later and click on Finish.

Important:

You must shutdown and reboot the scanner before using the API. (The
setup utility sets the registry Start parameter for OCdriver to
Automatic; therefore, the service manager starts the OCdriver when
the system is booted.)

The Windows NT API uses these files:

This file:

Contains:

ocapi.lib

Import library in Microsoft COFF format

ocapi.h

API header file that contains API-referenced structures

ocapi.dll

API DLL

sample.c

Sample application program calling the API functions

sampleb.mak

Sample make file for the Borland C compiler

samplem.mak

Sample make file for the Microsoft C compiler

This manual is related to the following products: