Avery Dennison 6035 Programmer Manual Rev.CA 6/01 User Manual

Page 33

Advertising
background image

3-6 Programmer’s Manual

B u i l d i n g A p p l i c a t i o n s

A build consists of compiling and linking the application’s
source code. If your application has multiple source code files,
you must compile and link separately. For applications with one
source code file, you must compile and link in one step.

To build, use either the menu choices in the C/C++
development environment or the following DOS prompt
commands:

cl (to compile and/or link)

link (to link only).

Refer to your C/C++ documentation for more information.

Compiling Applications

Although you may also use other options when compiling, you
must specify

/AL (use the large memory model)

/Zp1 (pack structure members)

/c (use only with multiple source code files).

Include Files

There are two include files that you can use: MMSULTRA.H and
SCAN1223.H. You must always use MMSULTRA.H. Use
SCAN1223.H only when you link the application to
SCAN1223.LIB.

If you use both the SCAN1223.H and MMSULTRA.H files in your
application, place the #include directive for SCAN1223.H before
the one for MMSULTRA.H. It does not matter where you place
the #include directives for the standard C include files.

Advertising