Epi Info™ User Guide
Command Reference
Analysis Commands: DEFINE DLLOBJECT
Description
This command allows you to create an ActiveX (dynamic link library or executable) object.
Syntax
DLL File
DEFINE <variable> DLLOBJECT “<ActiveX name>.<class>”
WSC File
DEFINE <variable> DLLOBJECT “<filename>”
- The <variable> represents the name of the variable to be created.
- The <ActiveX name> represents the internal name of the ActiveX object that contains the class object for DLL files.
- The <class> represents a class name defined within the DLL.
- The <filename> represents the name of the WSC file where the script component resides.
Comments
The ActiveX name may not be the same as the actual name of the dll (dynamic link library) or executable. When an ActiveX object is developed, it is given a project name. This name is required to create the object. The ActiveX object (executable or dll) must be registered before it can be used. Windows Scripting Component (WSC) objects can also be used.
Example
DEFINE Week DLLOBJECT "EIEpiwk.Epiweek"