Ignore:
Timestamp:
Aug 17, 2000, 10:23:35 AM (25 years ago)
Author:
bird
Message:

Corrected some bugs.
Current known problem is that myldrOpen seems to destroy stack causing
the call to mytkExecPgm not return correctly and hence sysinit not to
release the ldrSem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GRACE/src/win32k/ldr/myldrOpen.cpp

    r3985 r4025  
    1 /* $Id: myldrOpen.cpp,v 1.10.4.2 2000-08-11 02:23:19 bird Exp $
     1/* $Id: myldrOpen.cpp,v 1.10.4.3 2000-08-17 08:23:33 bird Exp $
    22 *
    33 * myldrOpen - ldrOpen.
     
    265265                 *      - When the file is an EXE file and PE.EXE is enabled.
    266266                 */
    267                 if ((u1.pNtHdrs->FileHeader.Characteristics & IMAGE_FILE_DLL == 0UL)
     267                if ((u1.pNtHdrs->FileHeader.Characteristics & IMAGE_FILE_DLL) == 0UL
    268268                    && (options.fPE == FLAGS_PE_PE || options.fPE == FLAGS_PE_MIXED)
    269269                    && (isLdrStateExecPgm() || isLdrStateQAppType())
     
    293293                        if (isLdrStateExecPgm() && fTkExecPgm)
    294294                        {
    295                             rc = AddArgsToFront(1, achTkExecPgmFilename);
     295                            rc = AddArgsToFront(2, u1.pach, achTkExecPgmFilename);
    296296                            if (rc == NO_ERROR)
    297297                            {
Note: See TracChangeset for help on using the changeset viewer.