VCInit


Version:

1.2

Description:

Used to initialize the Visual CADD™ DLL in order to access the functionality from an external application.

Declaration:

 

C/C++

extern "C" void WINAPI VCInit(void);

Delphi

procedure VCInit; stdcall;

ActiveX/COM

Sub Init()

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's must be initialized to set up a drawing database and establish all the 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, VCTerminate, VCInitDialogs, VCTerminateDialogs