@IsApplicationStarted

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

@IsApplicationStarted

available from build: 20060908

Description

It returns True if DBWorks/DBInventor has fully finished to start.

Syntax

call DBWShell("@IsApplicationStarted")

Results

TRUE

if DBWorks/DBInventor has finished to start

FALSE

if it's still loading

Remarks

It is useful for out-of-process applications that needs to call the DBWorks API and want to be sure that DBWorks/DBInventor has been fully initialized.

Example

Sub DBWShell( cmd )
      Set DBWApp = CreateObject("SldWorks.Application")
      okDBW = DBWApp.CallBack( "DBWorks.DLL@DBWorksShell", 0, cmd )
      DBWMsgBox "okDBW=" & okDBW
End Sub
DBWShell "@IsApplicationStarted"