VCRunNestedDll


Version:

2.0.4

Description:

Runs the function in a specified DLL without aborting the current Visual CADD™ tool.

Declaration:

 

C/C++

extern "C" void WINAPI VCRunNestedDll(void);

Delphi

procedure VCRunNestedDll; stdcall;

ActiveX/COM

Sub RunNestedDll()

Parameters:

Does not take parameters and uses the same variable settings as VCDllRun except that the parameters are set beforehand by using other API functions. Refer to the See Also.

Notes:

Visual CADD™ 2.0 and later supports applications written as a DLL directly in the interface. This allows applications to be built as general tool sets into a DLL with exported functions. In the Visual CADD™ interface these routines can then be accessed by the end user through assigning a script. The exported functions can have only a character string command line.

VCRunNestedDll is identical to VCDllRun except that VCRunNestedDll will send ALERT_APP_TOOL_START and ALERT_APP_TOOL_COMPLETE alerts when it loads the DLL and runs the function, whereas VCDllRun does not send any alerts. For both VCRunNestedDll and VCDllRun, the current Visual CADD™ tool is not aborted and continues to run unless the DLL function itself aborts the current tool.

See Also:

VCDllRun, VCGetDllRunCmdLine, VCGetDllRunFunction, VCGetDllRunName, VCSetDllRunCmdLine, VCSetDllRunFunction, VCSetDllRunName