Skip to content

NTL_NO_VISACOM Macro

Preprocessor definition to prevent inclusion of the VISA-COM header files.

#define NTL_NO_VISACOM

Define NTL_NO_VISACOM before the include of “ntl.h” in order to prevent the VISA-COM I/O provider from being compiled in your project. This is useful if you do not have VISA-COM installed on your system.

The following example demonstrates use of the NTL_NO_VISACOM macro.

stdafx.h
// Prevent inclusion of the VISA-COM I/O provider header file
#define NTL_NO_VISACOM
#include "ntl.h"