Changeset 37 for trunk/src/kernel32/resource.cpp
- Timestamp:
- Jun 6, 1999, 2:25:49 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/resource.cpp
r25 r37 1 /* $Id: resource.cpp,v 1. 3 1999-06-01 15:47:38 phallerExp $ */1 /* $Id: resource.cpp,v 1.4 1999-06-06 12:25:49 cbratschi Exp $ */ 2 2 3 3 /* … … 31 31 32 32 dprintf(("FindResourceA %X", hModule)); 33 if(hModule == 0 || hModule == -1) 34 module = (Win32Image *)WinExe; 35 else module = (Win32Image *)Win32Dll::findModule(hModule); 33 // EB: ->>> added real exe module handle 34 if(hModule == 0 || hModule == -1 || (WinExe != NULL && hModule == WinExe->getOS2InstanceHandle())) 35 module = (Win32Image *)WinExe; 36 else 37 module = (Win32Image *)Win32Dll::findModule(hModule); 36 38 37 39 if(module == NULL) … … 43 45 //****************************************************************************** 44 46 HRSRC WIN32API FindResourceW(HINSTANCE hModule, LPCWSTR lpszName, 45 47 LPCWSTR lpszType) 46 48 { 47 49 Win32Image *module; … … 53 55 54 56 if(module == NULL) 55 57 return(NULL); 56 58 57 59 return module->findResourceW((LPWSTR)lpszName, (LPWSTR)lpszType);
Note:
See TracChangeset
for help on using the changeset viewer.