Before you compile your Win32 C application, include the following lines at the beginning of your program:
#include <windows.h>
#include "ni488.h"
To compile and link a Win32 console application named cprog in a DOS shell, type the following on the command line:
cl cprog.c gpib-32.obj
To compile and link a Win32 console application named cprog that uses direct entry in a DOS shell, type the following on the command line:
cl cprog.c