SOM_MainProgram - Remarks

This macro should appear near the beginning of each Windows application program that uses SOM or a SOM class library. It can also be used in OS/2 or AIX programs but is not generally required on these platforms. Any statically referenced SOM class libraries are initialized during the execution of this macro, and an end-of-program exit procedure is established to release SOM resources during normal program termination. (This macro combines the execution of the C/C++ "atexit" function with the SOM somMainProgram function and returns a reference to the global SOMClassMgr object.)


[Back: SOM_MainProgram - Parameters]
[Next: SOM_MainProgram - Related Information]