On line catalogue +44 (0)1384 888600  
Checkout  Basket  Lines 0
Value £0
Welcome to Data Solutions industrial card sales web site RS232 / RS422 / RS485 Multi-Port Serial Cards Digital Input Output and Timer Cards Analogue to Digital Convertor series Line and protocol conversion adaptors Parallel port adaptor series
Main Menu Review Order Contact Us Internet Remote Control
Using C++ with the Dynamic Industrial Interface DLL

C++

Bringing the peices together

You will first need to install the Decision cards Industrial Interface program. This both installs the card drivers, the required Declib.dll and some sample applications.

Make sure that you install the development release, not the retail release, which does not include support programming files.

Assuming you are using the Windows 2000 or XP driver, in your C/C++ source code files, just include the "Declib.h" include file, then you can use any of the functions provided by the Dynamic Industrial Interface DLL. Be sure to include the import library "Declib.lib" during the linking step of your application, so your applications successfully references the actual interface DLL.

Since the Dynamic Industrial Interface DLL was developed using C++, it may easily be used to access Industrial I/O devices with the API.

For this purpose, a C++ header file ("Declib.h") as well as an import library ("Declib.lib") is included with the interface library.

You will need to refer to the DLL Function Manual (installed with the driver) which gives a detailed description of each function.

There is a Sample Application (installed with thedriver) which gives an example application with code to link with most of the available cards.

The program examples assume you are using the Windows 2000/ XP driver
and Microsoft's Visual Studio C++. If you are programming using another
C++ compiler please use these examples as a guide only.