SOM 1.0 OIDL Users

If you need to recompile an OIDL class that overrides somDumpSelf or somDumpSelfInt, change the data type of the level parameter in the function definition in your C source program from INT to LONG. For example, if your original class source program has a somDumpSelfInt override procedure similar to:

  SOM_Scope void SOMLINK somDumpSelfInt(
       <className> *somSelf, INT level)
  {
    ...
  }

Change it to read:

  SOM_Scope void SOMLINK somDumpSelfInt(
       <className> *somSelf, LONG level)
  {
   ...
  }

Because both INT and LONG data types require 4 bytes on OS/2, this change does not affect the binary interface of your class.


[Back: SNGLICLS.HH]
[Next: SOM Bindings]