Changeset 4236 for trunk/src/kernel32/winexelx.cpp
- Timestamp:
- Sep 12, 2000, 6:29:59 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winexelx.cpp
r3375 r4236 1 /* $Id: winexelx.cpp,v 1. 6 2000-04-14 22:35:27 sandervlExp $ */1 /* $Id: winexelx.cpp,v 1.7 2000-09-12 04:29:58 bird Exp $ */ 2 2 3 3 /* … … 66 66 67 67 if(winexe) { 68 char *cmdline; 69 int cmdlen = strlen(ppib->pib_pchcmd); 70 71 cmdlen += strlen(ppib->pib_pchcmd+cmdlen+1); 72 cmdline = (char *)malloc(cmdlen+2); //term. 0 + space 73 strcpy(cmdline, ppib->pib_pchcmd); 74 strcat(cmdline, " "); 75 strcat(cmdline, ppib->pib_pchcmd+strlen(ppib->pib_pchcmd)+1); 76 winexe->setCommandLine(cmdline); 77 free(cmdline); 68 InitCommandLine(FALSE); 78 69 winexe->setEntryPoint((ULONG)EntryPoint); 79 70 winexe->start(); … … 88 79 //****************************************************************************** 89 80 //****************************************************************************** 90 Win32LxExe::Win32LxExe(HINSTANCE hInstance, PVOID pResData) 81 Win32LxExe::Win32LxExe(HINSTANCE hInstance, PVOID pResData) 91 82 : Win32ImageBase(hInstance), 92 83 Win32LxImage(hInstance, pResData),
Note:
See TracChangeset
for help on using the changeset viewer.