User`s manual
28 Building Applications
PCIS-DASK
Application Building Fundamentals in Windows
3.2 Application Building Fundamentals in Windows
The following sections provide fundamental instructions when
using PCIS-DASK to build application in Windows
®
NT/98/2000/
XP/Server 2003 operating environment.
Using Microsoft
®
Visual C
®
/C++
®
Follow these steps to create a data acquisition application using
PCIS-DASK and Microsoft Visual C/C++.
1. Launch the Microsoft Visual C/C++ application.
2. Open a new or existing project that you want to apply the
PCIS-DASK.
3. Include header file DASK.H in the C/C++ source files
that call PCIS-DASK functions. DASK.H contains all the
function declarations and constants that can be used to
develop data acquisition applications. Incorporate the
following statement in the code to include the header file.
#include “DASK.H”
4. After setting the appropriate compile and link options,
build the application by selecting the Build command
from Build menu (Visual C/C++ 4.0). Remember to link
PCIS-DASK’s import library, PCIS-DASK.LIB.