VCTerminate


Version:

1.2

Description:

Used to remove the Visual CADD™ DLL from memory.

Declaration:

 

C/C++

extern "C" void WINAPI VCTerminate(void);

Delphi

procedure VCTerminate; stdcall;

ActiveX/COM

Sub Terminate()

Parameters:

No parameters are used for this subroutine.

Notes:

In order to access routines in the Visual CADD™ engine from an external stand-alone interface, the DLL must be initialized to set up a drawing database and establish all necessary functionality. The full API set is available to the application after initializing the DLL. The Visual CADD™ engine should be cleared from memory with VCTerminate when the stand-alone application terminates.

Applications that require the Visual CADD™ dialogs, i.e. Print Dialog or ribalogs, should also initialize the dialog routines with VCInitDialogs. These should then be cleared with VCTerminateDialogs.

VCInit is not required when the application requires the Visual CADD™ interface, i.e. a user tool or add-on spell checker. VCTerminate should only be used by stand-alone applications which have explicate accessed the DLL with VCInit

See Also:

VCGetInitCount, VCInit , VCInitDialogs, VCTerminateDialogs