| # 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 可用于向导和应用约束条件的函数 (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 可用于向导和应用约束条件的函数 (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 导入 DLL 函数 (tgwzr3101s000) session. To start this session: On the 视图, 参考, 操作 menu of the 向导步骤 (tgwzr2500m000) session, click 用于向导的 DLL 函数 The functions included in this session are only related to the current modeling version, and not to one specific wizard or wizard step. 导入 DLL 函数 (tgwzr3101s000) To import DLL functions from the Libraries (ttadv2533s000) session, use the 导入 DLL 函数 (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 可用于向导和应用约束条件的函数 (tgwzr3500m000) session. 注意 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 函数 (tgwzr3100s000) To view a DLL function with the DLL of which it is a component, use the 用于约束条件的 DLL 函数 (tgwzr3100s000) session. To activate the Program Scripts / Libraries (ttadv2530m000) session in which the DLLs are defined, click DLL. |