Multiple side-by-side versions of BlueZone

Starting with BlueZone Version 6.1, when invoking the BlueZone Host Automation objects the specific version can be specified in the CreateObject() statement. The following example loads Version 6.1 of the BZHAO:

set bzhao = CreateObject(“BZWhll.WhllObj.6.1”)

The AllowCrossVersionInterop= setting allows multiple versions of BlueZone to communicate and interact. This setting is defined in the global.ini file.

If AllowCrossVersionInterop=Yes, then the object can be used to communicate with any version of BlueZone.  For example, .Connect( “A” ) will successfully link the object to a different version session that has “A” configured as its session identifier. 

If AllowCrossVersionInterop=No, then the object can only be used to communicate with BlueZone Version 6.1 sessions, the .Connect( “A” ) method would then return error 1 (Not Connected).

If running multiple versions of BlueZone, and the version is omitted in the CreateObject() statement, then the latest registered version of the BZHAO is used. 
Note: Specifying the version in a script will tie the script to the particular version.  If BlueZone is later upgraded to a newer version, then the script file must be modified to load the new object.

For more information on the AllowCrossVersionInterop= setting, refer to the BlueZone Administrator’s Guide or the BlueZone Web-to-Host Administrator’s Guide for more information.