Ignore:
Timestamp:
Jul 23, 2002, 3:26:10 PM (23 years ago)
Author:
sandervl
Message:

Modified for new CreateWin32PeLdrExe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/peldr/pe.cpp

    r7991 r8911  
    1 /* $Id: pe.cpp,v 1.33 2002-02-23 10:48:19 sandervl Exp $ */
     1/* $Id: pe.cpp,v 1.34 2002-07-23 13:26:10 sandervl Exp $ */
    22
    33/*
     
    7070
    7171//should be the same as in ..\kernel32\winexepeldr.h
    72 typedef BOOL (* WIN32API WIN32CTOR)(char *, char *, char *, ULONG, BOOL, BOOL);
     72typedef BOOL (* WIN32API WIN32CTOR)(char *, char *, char *, ULONG, ULONG, BOOL, BOOL);
    7373
    7474WIN32CTOR   CreateWin32Exe       = 0;
     
    258258        goto fail;
    259259  }
    260   rc = DosQueryProcAddr(hmodKernel32, 0, "_CreateWin32PeLdrExe@24", (PFN *)&CreateWin32Exe);
     260  rc = DosQueryProcAddr(hmodKernel32, 0, "_CreateWin32PeLdrExe@28", (PFN *)&CreateWin32Exe);
    261261
    262262#ifdef COMMAND_LINE_VERSION
     
    265265  fVioConsole = FALSE;
    266266#endif
    267   if(CreateWin32Exe(exeName, win32cmdline, peoptions, reservedMemory, fConsoleApp, fVioConsole) == FALSE) {
     267  if(CreateWin32Exe(exeName, win32cmdline, peoptions, reservedMemory, 0, fConsoleApp, fVioConsole) == FALSE) {
    268268        goto fail;
    269269  }
Note: See TracChangeset for help on using the changeset viewer.