A server object class is automatically declared to the server model interpreter by a static initialization of a variable included in the macro
ILS_OBJECT_BEGIN/ILS_OBJECT_END. If this variable is embedded into a library, this initialization may be postponed, depending on the platform. To work around this potential problem, the
ILS_OBJECT_INIT macro is supplied to force the runtime declaration of a server object class at the beginning of the process. It should be used either isolated in a header or in a source file of the application at the beginning of the main function.
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.