The zenon interface

Previous chapterNext chapter Show allShow all    Hide allHide all

Classes deduced from COleDispatchDriver have to be created for the element and the variables, so that the dispatch interface of zenon can be used to set values. The easiest way to create these classes is the Class Wizard of the development environment (button Add Class, select From a type library, select zenrt32.tlb). For our control theses are the classes IElement and IVariable. They are defined in zenrt32.h and zenrt32.cpp.