Question and Answer Database FAQ2377C.txt How to load a bimap from a dll resource Category :Windows API Platform :All Product :C++Builder 3.x Question: What code do I have to call specifically in order to get a reource from a DLL? Answer: HMODULE hResourceDLL = LoadLibrary("mylib.dll"); HBITMAP hBitmap = FindResource(hResourceDLL, "BITMAP1", RT_BITMAP); // Do something with the bitmap here FreeLibrary(hResourceDLL); 7/2/98 10:32:32 AM
Last Modified: 01-SEP-99