Cyclone Automated Control Package
12
3 Getting Started with the Cyclone Control DLL
This section outlines the steps you need to take to begin developing your
own custom application and offers tips and suggestions to get the Cyclone
Control DLL working with your P&E hardware smoothly.
3.1 Example Programs
Located in the installation directory of the package, you will find three
example programs that you can use as a reference for your own application. The
examples are located in the following directories:
INSTALLDIR\Delphi20
- Delphi 2.0+ Example Visual Application
INSTALLDIR\msvc50
- MSVC 5.0+ Example MFC Visual Application
INSTALLDIR\msvcsharp2005
- MSVC# 2005+ Example Visual Application
These example programs are a valuable reference to use when starting
your own custom application.
3.2 Starting your own project
To gain access to the functions available in the DLL, the following files
need to be added to the new project workspace:
U
Delphi 2.0+ Projects
INSTALLDIR\Delphi20\multiple_cyclone_programming.pas
All other source files which will call functions from the DLL should include the
above file using the Delphi “uses” command.
U
MSVC 5.0+ Projects
INSTALLDIR\msvc50\multiple_cyclone_programming.h
INSTALLDIR\msvc50\multiple_cyclone_programming.cpp
All other source files which will call functions from the DLL should include the
above header file with the C/C++ #include directive.