On Windows OS, FeResPost is distributed at the same time as a ruby extension, and as a COM component. Several characteristics of FeResPost as a COM component are described in this Part.
In general, the class names, their methods and attributes (properties), the parameters of these methods and attributes are the same as those available in the FeResPost ruby extension. When necessary, modifications have been done in the ruby extension in order to maintain as much as possible the compatibility between the ruby extension and the COM component. Therefore, the user is referred to Parts I, II, III and IV to find information on the use of the different classes and methods. In most cases, the information given there is sufficient to use the COM component.
However, an exact match between the ruby extension and COM component is not possible. The conventions that have been adopted are detailed below when incompatibility problems were not solved. More generally, the specific aspects are explained here of the use of FeResPost as a COM component.
This Part of the document is organized as follows:
Chapter VI.2 presents the COM characteristics of the FeResPost generic classes described in Part I.
Chapter VI.1 presents the COM characteristics of the FeResPost CLA classes described in Part II.
Chapter VI.3 presents the COM characteristics of the FeResPost generic classes described in Part III. (Solver classes.)
Chapter VII.1 gives a few examples illustrating the use of FeResPost COM component.
The present Chapter discusses the following points:
The different ways to access the COM component depending on the language and/or on the programming environment (section VI.0.1).
Section VI.0.2 describes the conventions that have been adopted when translating the ruby extension into a COM component. Information is given each time the ruby methods are modified to be implemented into the COM component. For example, this is done for iterators, operators, “clone” method... Also, how objects are created with the component is explained.
The installation (registration) of the COM component is described in section X.A.4.5.