Borland C/C++ Programming Instructions (Version 5.02 or Higher)

NI-488.2

Borland C/C++ Programming Instructions (Version 5.02 or Later)

Before you compile your Win32 C application, make sure that the following line is included at the beginning of your program:

#include "ni4882.h"

The "NIEXTCCOMPILERSUPP" environment variable is provided as an alias to the location of C language support files. You can use this variable when compiling and linking an application.

To compile and link a Win32 console application named cprog in a DOS shell using the environment variable, "NIEXTCCOMPILERSUPP", type in the following on the command line:

bcc32 -I"%NIEXTCCOMPILERSUPP%\include" -w32 cprog.c "%NIEXTCCOMPILERSUPP%\lib32\borland\ni4882.obj"

Borland/CodeGear does not have a 64-bit compiler at time of writing.