|
Resources Class
|
Previous Top Next |
|
This small class is used to retrieve the PROP:ImageInstance from the global DLL in a multi-DLL project. All embedded icons used for extended targets must be included as resources in your global DLL. LSi_RSCArbiterClass.INC LSi_RSCArbiterClass CLASS,TYPE LSi_GetInstance PROCEDURE(),LONG END LSi_RSCArbiterClass.CLW LSi_RSCArbiterClass.LSi_GetInstance PROCEDURE() LSi_hModule LONG LSi_Window WINDOW,AT(,,1,1) END CODE OPEN(LSi_Window) LSi_hModule = SYSTEM{PROP:ImageInstance} CLOSE(LSi_Window) RETURN LSi_hModule This class is written for proper ABC compliance and usage. It is ONLY included in projects that use RPM and must reside in the <clarion>\LIBSRC folder. |