Ignore:
Timestamp:
Oct 25, 2012, 12:39:39 PM (13 years ago)
Author:
dmik
Message:

kernel32: Fix Win32ImageBase::matchModName().

As opposed to the declared functionality, it was comparing the name part
of the argument with the full path of the stored module name and this would
obviously not work if the module name were a full path.

One of the failig cases was a frequent attempt to retrieve the resources of the
current executable by doing LoadLibraryEx() with the full executable name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/hmfile.cpp

    r22025 r22040  
    13481348
    13491349    HMFileInfo *fileInfo = (HMFileInfo *)pHMHandleData->dwUserData;
    1350     dprintf(("*** %s", fileInfo->lpszFileName));
    13511350    if(OSLibDosGetFileInformationByHandle(fileInfo->lpszFileName,
    13521351                                          INVALID_HANDLE_VALUE,
Note: See TracChangeset for help on using the changeset viewer.