Changeset 1146 for trunk/src/kernel32/winimagepeldr.cpp
- Timestamp:
- Oct 6, 1999, 1:26:02 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimagepeldr.cpp
r1075 r1146 1 /* $Id: winimagepeldr.cpp,v 1. 3 1999-09-28 00:37:39phaller Exp $ */1 /* $Id: winimagepeldr.cpp,v 1.4 1999-10-05 23:23:47 phaller Exp $ */ 2 2 3 3 /* … … 351 351 hinstance = (HINSTANCE)realBaseAddress; 352 352 353 if(processImports((char *)win32file) == FALSE) { 354 fout << "Failed to process imports!" << endl; 355 goto failure; 356 } 357 353 //PH: get pResDir pointer correct first, since processImports may 354 // implicitly call functions depending on it. 358 355 IMAGE_SECTION_HEADER sh; 359 356 if(GetSectionHdrByName (win32file, &sh, ".rsrc")) { … … 361 358 pResDir = (PIMAGE_RESOURCE_DIRECTORY)(sh.VirtualAddress + realBaseAddress); 362 359 pResourceSectionStart = (ULONG)pResSection->virtaddr - oh.ImageBase; 360 } 361 362 if(processImports((char *)win32file) == FALSE) { 363 fout << "Failed to process imports!" << endl; 364 goto failure; 363 365 } 364 366
Note:
See TracChangeset
for help on using the changeset viewer.