Ignore:
Timestamp:
Jul 3, 2001, 3:23:09 PM (24 years ago)
Author:
sandervl
Message:

allow os/2 dll loading for odin32 apps

File:
1 edited

Legend:

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

    r6129 r6148  
    1 /* $Id: wprocess.cpp,v 1.127 2001-06-27 13:35:47 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.128 2001-07-03 13:23:09 sandervl Exp $ */
    22
    33/*
     
    833833                pModule->incDynamicLib();
    834834            }
    835             else if (fExeStarted) {
     835            else if (fExeStarted && !fIsOS2Image) {
    836836                OSLibDosFreeModule(hDll);
    837837                SetLastError(ERROR_INVALID_EXE_SIGNATURE);
     
    839839                return 0;
    840840            }
    841             else
     841            else {
     842                dprintf(("KERNEL32: LoadLibraryExA(%s, 0x%x, 0x%x): returns 0x%x. Loaded OS/2 dll %s using DosLoadModule.",
     843                         lpszLibFile, hFile, dwFlags, hDll, szModname));
    842844                return hDll; //happens when LoadLibrary is called in kernel32's initterm (nor harmful)
    843 
     845            }
    844846            dprintf(("KERNEL32: LoadLibraryExA(%s, 0x%x, 0x%x): returns 0x%x. Loaded %s using DosLoadModule.",
    845847                     lpszLibFile, hFile, dwFlags, hDll, szModname));
Note: See TracChangeset for help on using the changeset viewer.