Applies To:
  • CitectSCADA

Long Event names in ActiveX objects may overflow the maximum number of identifying characters for cicode functions. As default eventclass values = (the first 8 characters of a page name) + _AN + the animation number (totalling 16 characters) the event class only has another 15 characters (there is another '_' after the event class and before the event name when creating a cicode activex event handler. This could cause the wrong event handlers to get called for events with long names and similar name beginnings. 

CIT has confirmed this to be a problem in Citect for Windows version 5.3. We are researching this problem and will post new information here as it becomes available.

A workaround is to use the eventclass field and reduce the length of the default eventhandler thus giving the event name more space which might give it enough room to make the function name unique.