Registering class interfaces

DSOM relies heavily on the Interface Repository for information on method signatures (that is, a description of the method's parameters and return value). It is important to compile the IDL for all application classes into the IR before running the application.

For each class in the DLL, compile the IDL description of the class into the Interface Repository. This is accomplished by invoking the following command syntax:

    sc -sir -u stack.idl     (on AIX or OS/2)

If the default SOM IR (supplied with the SOMobjects Toolkit and Run times) is not used by the application, the user's IR must include the interface definitions for:


[Back: Preparing the environment]
[Next: Registering servers and classes]