Changeset 14812


Ignore:
Timestamp:
Sep 12, 2000, 9:02:00 PM (25 years ago)
Author:
sandervl
Message:

LX exe command line fix

Location:
tags/trunk/src/kernel32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/kernel32/winexebase.cpp

    r14804 r14812  
    1 /* $Id: winexebase.cpp,v 1.10 2000-09-12 04:29:58 bird Exp $ */
     1/* $Id: winexebase.cpp,v 1.11 2000-09-12 19:01:59 sandervl Exp $ */
    22
    33/*
     
    5050Win32ExeBase::Win32ExeBase(HINSTANCE hInstance)
    5151                 : Win32ImageBase(hInstance),
    52                    fConsoleApp(FALSE),
    53                    cmdLineA(NULL), cmdLineW(NULL)
     52                   fConsoleApp(FALSE)
    5453{
    5554  WinExe = this;
     
    9089
    9190  WinExe = NULL;
    92   if(cmdLineA)
    93         free(cmdLineA);
    94   if(cmdLineW)
    95         free(cmdLineW);
    9691}
    9792//******************************************************************************
  • TabularUnified tags/trunk/src/kernel32/winexebase.h

    r14804 r14812  
    1 /* $Id: winexebase.h,v 1.2 2000-09-12 04:29:58 bird Exp $ */
     1/* $Id: winexebase.h,v 1.3 2000-09-12 19:01:59 sandervl Exp $ */
    22
    33/*
     
    3131       
    3232protected:
    33         LPSTR  cmdLineA;
    34         LPWSTR cmdLineW;
    3533        BOOL   fConsoleApp;
    3634
  • TabularUnified tags/trunk/src/kernel32/winexelx.cpp

    r14804 r14812  
    1 /* $Id: winexelx.cpp,v 1.7 2000-09-12 04:29:58 bird Exp $ */
     1/* $Id: winexelx.cpp,v 1.8 2000-09-12 19:02:00 sandervl Exp $ */
    22
    33/*
     
    2525#include <winexelx.h>
    2626#include <winconst.h>
     27#include <win32api.h>
    2728#include <wprocess.h>
    2829#include <odinlx.h>
     
    116117
    117118  SetWin32TIB();
    118   rc = ((WINMAIN)entryPoint)(hinstance, 0, cmdLineA, SW_SHOWNORMAL_W);
     119  rc = ((WINMAIN)entryPoint)(hinstance, 0, (LPSTR)GetCommandLineA(), SW_SHOWNORMAL_W);
    119120  RestoreOS2TIB();
    120121
Note: See TracChangeset for help on using the changeset viewer.