Using Data Import : Using Functions in C/C++ Language Programs : Include Files

Include Files

Every program that calls Data Import functions must include the definitions for its library data-types and constants. The definitions are contained in the dataport.h and DataimportDefs.h files.

To incorporate these definitions, include the file by writing the following statement at the beginning of your program:

#include dir_name/include/dataport.h
#include dir_name/include/DataimportDefs.h

Substitute the value of the environment variable STM_ROOT for the dir_name variable.