Loading Resources From a DLL

rc = DosLoadModule(NULL,                  /* No object name           */
                   0,                     /* No object length         */
                   "MYDLL",               /* DLL module name          */
                   hModule);              /* DLL handle (returned)    */

ulLength = WinLoadString(hAB,             /* Load string              */
                         hModule,         /* DLL module handle        */
                         STR_TITLE,       /* Resource ID within DLL   */
                         sizeof(szTitle), /* Number of bytes          */
                         szTitle);        /* Target buffer            */


[Back: Resource Script File]
[Next: Loading a Dialog Resource From a DLL]