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

You must always use MMSULTRA.H.

If you are using Datalight Sockets, include CAPI.H and

COMPILER.H.

Developing Applications 3-3

Page 33
Image 33
Paxar Gold 6037EX manual I l d i n g a p p l i c a t i o n s, Compiling Applications, Include Files