Ignore:
Timestamp:
Nov 5, 2000, 2:40:47 PM (25 years ago)
Author:
sandervl
Message:

Use DosLoadModule instead of O32_LoadLibrary; changed log strings in exception dump (.dll/.exe)

File:
1 edited

Legend:

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

    r4523 r4555  
    1 /* $Id: wprocess.cpp,v 1.106 2000-10-23 13:42:47 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.107 2000-11-05 13:40:47 sandervl Exp $ */
    22
    33/*
     
    791791     *  Endif
    792792     */
    793     //only call Open32 if LX binary or win32k process
     793    //only call OS/2 if LX binary or win32k process
    794794    if(!fPeLoader || fPE != ERROR_SUCCESS)
    795795    {
    796         hDll = O32_LoadLibrary(szModname);
     796        hDll = OSLibDosLoadModule(szModname);
    797797        if (hDll)
    798798        {
     
    818818                return hDll; //happens when LoadLibrary is called in kernel32's initterm (nor harmful)
    819819
    820             dprintf(("KERNEL32: LoadLibraryExA(%s, 0x%x, 0x%x): returns 0x%x. Loaded %s using O32_LoadLibrary.",
     820            dprintf(("KERNEL32: LoadLibraryExA(%s, 0x%x, 0x%x): returns 0x%x. Loaded %s using DosLoadModule.",
    821821                     lpszLibFile, hFile, dwFlags, hDll, szModname));
    822822            return pModule->getInstanceHandle();
    823823        }
    824         dprintf(("KERNEL32: LoadLibraryExA(%s, 0x%x, 0x%x): O32_LoadLibrary(%s) failed. LastError=%d",
     824        dprintf(("KERNEL32: LoadLibraryExA(%s, 0x%x, 0x%x): DosLoadModule (%s) failed. LastError=%d",
    825825                 lpszLibFile, hFile, dwFlags, szModname, GetLastError()));
    826826    }
Note: See TracChangeset for help on using the changeset viewer.