Changeset 3375 for trunk/src/kernel32/winexelx.cpp
- Timestamp:
- Apr 15, 2000, 12:35:29 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winexelx.cpp
r2802 r3375 1 /* $Id: winexelx.cpp,v 1. 5 2000-02-16 14:22:11sandervl Exp $ */1 /* $Id: winexelx.cpp,v 1.6 2000-04-14 22:35:27 sandervl Exp $ */ 2 2 3 3 /* … … 66 66 67 67 if(winexe) { 68 winexe->setCommandLine(ppib->pib_pchcmd); 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); 69 78 winexe->setEntryPoint((ULONG)EntryPoint); 70 79 winexe->start();
Note:
See TracChangeset
for help on using the changeset viewer.