DLL functions

A dynamic-link library is a piece of program script that can be used by several programs. Each DLL contains one or more functions to accomplish a certain task. Among other things, these functions can be used in a constraint.

In Wizards, DLL functions can be used for the following purposes:

  • To check the answers given by a user against certain conditions, such as the presence of a business function in a business function model.
  • To read parameters
  • To read wizard step answers
DLL sessions in the Wizard procedure

Functions which can be used in Wizard and Apply Constraints (tgwzr3500m000)

To make the dynamic-link library (DLL) functions available, when you want to use it in the wizard constraints and to apply constraints, use the Functions which can be used in Wizard and Apply Constraints (tgwzr3500m000) session. The easiest way to get the functions you need is to import a DLL that includes the functions you need.

To import the DLLs you need, use the Import DLL Functions (tgwzr3101s000) session.

To start this session:

  • On the appropriate menu of the Wizard Steps (tgwzr2500m000) session, click DLL funcions for Wizards

The functions included in this session are only related to the current modeling version, and not to one specific wizard or wizard step.

Import DLL Functions (tgwzr3101s000)

To import DLL functions from the Libraries (ttadv2533s000) session, use the Import DLL Functions (tgwzr3101s000) session. When a DLL is imported, all its functions are automatically included. Select the functions you need and delete the others. The DLL functions you import are listed in the Functions which can be used in Wizard and Apply Constraints (tgwzr3500m000) session.

Note: Always import DLL tgwzr001; this contains a number of predefined functions, such as a function to read wizard step answers and also to check the presence of a business function.

DLL Functions used in Constraints (tgwzr3100s000)

To view a DLL function with the DLL of which it is a component, use the DLL Functions used in Constraints (tgwzr3100s000) session. To activate the Program Scripts / Libraries (ttadv2530m000) session in which the DLLs are defined, click DLL's.