DBWorks Stand Alone Server extended support

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Programmer's Guide > DBWorks StandAlone Server >

DBWorks Stand Alone Server extended support

DBWArm Login

The DBWorks Standalone Server (DBWAlone.Api object) can be invoked also with the DBWArm/Login condition.
To implement this feature, a special command @StartApplication must be invoked through the standard DBWShell api to get the state of the application ( true=application server is running, false=application server is not running ).
The standard script library DBWScrpt.lib has already been updated to take care of this new feature.

Example

A typical sample of the calls for instantiating the DBWAlone.Api object is the following:

Dim DBWApp

Set DBWApp = CreateObject("DBWAlone.Api")
okDBW = DBWApp.CallBack( "@StartApplication" )
if okDBW = false then
 DBWMsgBox "DBWorks Standalone Application has been terminated."
else
 okDBW = DBWApp.CallBack( "…" )
 okDBW = DBWApp.CallBack( "…" )
 ...
end if