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

dll/exe load fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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;
Note: See TracChangeset for help on using the changeset viewer.