Version: |
1.2 |
Description: |
Returns the number of times that Visual CADD™ has been initialized but not terminated. |
Declaration: |
|
C/C++ |
extern "C" short WINAPI VCGetInitCount(void); |
Delphi |
function VCGetInitCount:Smallint; stdcall; |
ActiveX/COM |
Function GetInitCount() As Integer |
Parameters: |
Returns - the number of currently active instances of Visual CADD™. |
Notes: |
When making tools or external applications that need Visual CADD™ running, it is a good idea to check to see if any instances are currently available. VCGetInitCount will return the number of currently running instances of Visual CADD™, which a program can then use to decide if it should rely on one of the preexisting instances or spawn a new instance using VCInit. |
See Also: |