Changeset 9540 for trunk/src/kernel32


Ignore:
Timestamp:
Dec 20, 2002, 1:40:44 PM (23 years ago)
Author:
sandervl
Message:

dll/exe load fix

Location:
trunk/src/kernel32
Files:
3 edited

Legend:

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

    r9533 r9540  
    1 /* $Id: windllpe2lx.cpp,v 1.12 2002-12-20 10:38:57 sandervl Exp $ */
     1/* $Id: windllpe2lx.cpp,v 1.13 2002-12-20 12:40:43 sandervl Exp $ */
    22
    33/*
     
    3030#include <winexepe2lx.h>
    3131#include <wprocess.h>
     32#include <odinpe.h>
    3233
    3334#include "oslibmisc.h"      // OSLibGetDllName
     
    100101            return 0;
    101102        }
    102         if (!pWinMod->init())
     103        if (pWinMod->init() != LDRERROR_SUCCESS)
    103104        {
    104105            eprintf(("RegisterPe2LxDll: init-method failed.\n"));
  • trunk/src/kernel32/winexepe2lx.cpp

    r9533 r9540  
    1 /* $Id: winexepe2lx.cpp,v 1.12 2002-12-20 10:38:58 sandervl Exp $ */
     1/* $Id: winexepe2lx.cpp,v 1.13 2002-12-20 12:40:43 sandervl Exp $ */
    22
    33/*
     
    3131#include <wprocess.h>
    3232#include <win32api.h>
     33#include <odinpe.h>
    3334
    3435#include "oslibmisc.h"      // OSLibGetDllName
     
    9697            return;
    9798        }
    98         if (!pWinPe2LxExe->init())
     99        if (pWinPe2LxExe->init() != LDRERROR_SUCCESS)
    99100        {
    100101            eprintf(("RegisterPe2LxExe: init-method failed.\n"));
     
    190191    if (pExe)
    191192    {
    192         if (pExe->init())
     193        if (pExe->init() == LDRERROR_SUCCESS)
    193194        {
    194195            WinExe = pExe;
  • trunk/src/kernel32/wprocess.cpp

    r9533 r9540  
    1 /* $Id: wprocess.cpp,v 1.167 2002-12-20 10:38:58 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.168 2002-12-20 12:40:44 sandervl Exp $ */
    22
    33/*
     
    3131#include <vmutex.h>
    3232#include <handlemanager.h>
     33#include <odinpe.h>
    3334
    3435#include "odin32validate.h"
     
    10851086         *  Endif.
    10861087         */
    1087         if (peldrDll->init(0))
     1088        if(peldrDll->init(0) == LDRERROR_SUCCESS)
    10881089        {
    10891090            peldrDll->AddRef();
Note: See TracChangeset for help on using the changeset viewer.