|
<< Click to Display Table of Contents >> Navigation: »No topics above this level« @IsApplicationStarted |
available from build: 20060908 |
It returns True if DBWorks/DBInventor has fully finished to start.
call DBWShell("@IsApplicationStarted")
TRUE |
if DBWorks/DBInventor has finished to start |
|---|---|
FALSE |
if it's still loading |
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.
Sub DBWShell( cmd )
Set DBWApp = CreateObject("SldWorks.Application")
okDBW = DBWApp.CallBack( "DBWorks.DLL@DBWorksShell", 0, cmd )
DBWMsgBox "okDBW=" & okDBW
End Sub
DBWShell "@IsApplicationStarted"