The ni-imaq libraries, Creating an application – National Instruments NI-IMAQ User Manual

Page 10

Advertising
background image

Chapter 1

Introduction to NI-IMAQ for IEEE-1394 Cameras

NI-IMAQ for IEEE-1394 Cameras User Manual

1-4

ni.com

The NI-IMAQ Libraries

The NI-IMAQ for 1394 for Windows 2000/Me/98 function libraries are
dynamic link libraries (DLLs), which means that NI-IMAQ for 1394
routines are not linked into the executable files of applications. Only the
information about the NI-IMAQ routines in the NI-IMAQ import libraries
is stored in the executable files.

Import libraries contain information about their DLL-exported functions.
They indicate the presence and location of the DLL routines. Depending
on the development tools you are using, you may give the DLL routines
information through import libraries or through function declarations.
Your NI-IMAQ for 1394 software kit contains function prototypes for all
routines.

Creating an Application

This section outlines the process for developing NI-IMAQ for 1394
applications using C for Windows 2000/Me/98. Detailed instructions on
creating project and source files are not included. For information on
creating and managing project files, consult the documentation included
with your particular development environment.

When programming, use the following guidelines:

Include the

niimaq1394.h

header file in all C source files that use

NI-IMAQ functions. Add this file to the top of your source files.

Add the

niimaq1394.lib

import library to your project. Some

environments allow you to add import libraries simply by inserting
them into your list of project files. Other environments allow you
to specify import libraries under the linker settings portion of the
project file.

Advertising