Changeset 712 for trunk/src/kernel32/winimage.cpp
- Timestamp:
- Aug 27, 1999, 6:51:01 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimage.cpp
r705 r712 1 /* $Id: winimage.cpp,v 1.1 7 1999-08-26 12:55:37sandervl Exp $ */1 /* $Id: winimage.cpp,v 1.18 1999-08-27 16:51:01 sandervl Exp $ */ 2 2 3 3 /* … … 200 200 IMAGE_TLS_DIRECTORY *tlsDir = NULL; 201 201 int nSections, i; 202 char szFullPath[CCHMAXPATH] = ""; 202 203 203 204 fImgMapping = VIRTUAL_MapFileA(szFileName, &win32file); … … 207 208 WinMessageBox(HWND_DESKTOP, HWND_DESKTOP, szErrorMsg, szErrorTitle, 0, MB_OK | MB_ERROR | MB_MOVEABLE); 208 209 goto failure; 210 } 211 212 if(DosQueryPathInfo(szFileName, FIL_QUERYFULLNAME, szFullPath, sizeof(szFullPath)) == 0) { 213 setFullPath(szFullPath); 209 214 } 210 215 … … 425 430 } 426 431 } 427 428 if(processImports((char *)win32file) == FALSE) {429 fout << "Failed to process imports!" << endl;430 goto failure;431 }432 433 432 if(fh.Characteristics & IMAGE_FILE_DLL) { 434 433 if(processExports((char *)win32file) == FALSE) { … … 437 436 } 438 437 } 438 439 if(processImports((char *)win32file) == FALSE) { 440 fout << "Failed to process imports!" << endl; 441 goto failure; 442 } 443 439 444 IMAGE_SECTION_HEADER sh; 440 445 if(GetSectionHdrByName (win32file, &sh, ".rsrc")) { … … 797 802 apiaddr = WinDll->getApi(ordinal); 798 803 if(apiaddr == 0) { 799 fout << "--->>> NOT FOUND!";800 *import = (ULONG)MissingApi;804 fout << "--->>> NOT FOUND!"; 805 *import = (ULONG)MissingApi; 801 806 } 802 807 else *import = apiaddr; … … 812 817 apiaddr = WinDll->getApi(impname); 813 818 if(apiaddr == 0) { 814 fout << "--->>> NOT FOUND!";815 *import = (ULONG)MissingApi;819 fout << "--->>> NOT FOUND!"; 820 *import = (ULONG)MissingApi; 816 821 } 817 822 else *import = apiaddr;
Note:
See TracChangeset
for help on using the changeset viewer.