SOM_ClassLibrary - Example Code
#include <som.h>
SOMEXTERN void SOMLINK SOMInitModule (long majorVersion,
long minorVersion,
string className);
#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 */
}
[Back: SOM_ClassLibrary - Related Information]
[Next: SOM_ClassLibrary - Topics]