Activex server constant values, Activex server constant values 15 – Watlow ANAWIN 3 User Manual
Page 18

AnaWin3 Quickstart Guide
OLE Reference
Doc.# 22852-10
Watlow Anafaze
15
AnaWin3 shuts down, it should call the UnRegisterAsClient
method, passing the client ID
value, then close it reference to the server.
The client’s shutdown method should immediately close its
reference to the server.
!
NOTE!
The client should not call UnRegisterAsCli-
ent from its ShutDown method as this will
cause an ACTIVEX deadlock situation where
each process is waiting for the other to return
from its message call.
ActiveX Server Constant Values
(0)
Returned by all function if they are successful
*%
(1)
Returned by all functions if a local user has shut AnaWin3
down
+
(2)
Returned by all functions if AnaWin3 is not able to communi-
cate to the controller(s) on the bus.
/"
(3)
Returned by the Get and Set data values and the get parameter
names functions if an invalid parameter number is passed to
them.
/"
(4)
Returned by any function that accepts a modbus address,
when an address that has no controller assigned to it is passed.
/"/
(5)
Returned by any function that deals with array data when an
index is passed to it that is less than zero or greater than the
number items that array has for the controller at the passed in
address has.
(6)
Returned by SetChannelDataValues when a value is passed in
the values array that is invalid for the passed ParmNum