Changeset 544 for trunk/src/peldr/pe.cpp


Ignore:
Timestamp:
Aug 18, 1999, 2:24:53 PM (26 years ago)
Author:
sandervl
Message:

PE loader changes (exes without fixups + TLS support)

File:
1 edited

Legend:

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

    r506 r544  
    1 /* $Id: pe.cpp,v 1.5 1999-08-16 13:54:07 sandervl Exp $ */
     1/* $Id: pe.cpp,v 1.6 1999-08-18 12:24:32 sandervl Exp $ */
    22
    33/*
     
    7272 HMODULE hmodPMWin, hmodKernel32;
    7373
    74   printf("memory allocated at %X\n", ReserveMem());
    75 
    7674  rc = DosLoadModule(exeName, sizeof(exeName), "PMWIN.DLL", &hmodPMWin);
    7775  rc = DosQueryProcAddr(hmodPMWin, ORD_WIN32INITIALIZE, NULL, (PFN *)&MyWinInitialize);
     
    130128  WinExe->setCommandLine(szCmdLine);
    131129
    132   if(WinExe->init() == FALSE) {
     130  if(WinExe->init(ReserveMem()) == FALSE) {
    133131        delete WinExe;
    134132        return(1);
Note: See TracChangeset for help on using the changeset viewer.