SOM Kernel Reference 1-45
For Windows, also include the following function:
#include <windows.h>
int CALLBACK LibMain (HINSTANCE inst,
WORD ds,
WORD Heapsize,
LPSTR cmdLine)
{
SOM_IgnoreWarning (inst);
SOM_ignoreWarning (ds);
SOM_IgnoreWarning (heapSize);
SOM_IgnoreWarning (cmdLine);
SOM_ClassLibrary (”xyz.dll”);
return 1; /* Indicate success to loader */
}
Related Information
Functions: SOMClassInitFuncName
Methods: somGetInitFunction
Macros: SOM_ClassLibrary
Kommentare zu diesen Handbüchern