VCAppExit


Version:

1.2

Description:

Alerts Visual CADD™ that the application is exiting and initiates internal clean-up.

Declaration:

 

C/C++

extern "C" void WINAPI VCAppExit(short* iError);

Delphi

procedure VCAppExit(var iError: Smallint); stdcall;

ActiveX/COM

Sub AppExit()

Parameters:

No additional parameters are used with this subroutine.

Notes:

VCAppExit is a general clean up routine utilized to free memory after the completion of a tool. When running external application tool sets, memory from the API and the tool itself may not always be cleared. For instance when creating a preview window with a drawing world one of the five HDC available in Windows 3.1 will be used. VCAppExit will alert Visual CADD™ to attempt any maintenance required to free up resources used by the external application.

See Also:

VCBeginOperation, VCEndOperation, VCAbortOperation, VCSetAlertApp, VCClearAlertApp