1 2 3 4 5 6 7 8 9 10 11 12 |
#define LOAD_LIBRARY_AS_IMAGE_RESOURCE 0x00000020 TCHAR Buffer[MAX_PATH]; AnsiString Description; HINSTANCE hInstance = LoadLibraryEx("C:\\hidserv86.dll", 0, LOAD_LIBRARY_AS_IMAGE_RESOURCE); if (hInstance != NULL) { LoadString(hInstance, 101, Buffer, MAX_PATH); Description = Buffer; ShowMessage(Description); FreeLibrary(hInstance); } |