4.3 ww.dll API Reference : General use
 
General use
 
ww.dll needs to be instantiated as ww.main. In VBScript, this looks like:
 
Set objT = CreateObject("ww.main")
 
All calls made go through the invoke method and must be formatted as XML. A <func> tag contains the actual function to execute; the other information passed depends on the call.
 
Example:
a=objT.invoke("<func>getversion</func>");
 
Likewise, the return values are all XML with the exception of the first four characters, which are always either OK : or ERR:.
OK : is followed by an XML return string.
ERR: is followed by a text string which identifies the error.