
April 2nd, 2004, 02:00 AM
|
|
Registered User
|
|
Join Date: Apr 2004
Posts: 9
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
combining strings to one.
Hi, i cant figure out how to combine strings to 1, for example this is what i have, it works but buggy.
bfvf : string = '\bfvietnam.exe +restart 1'; // Executable
bfvc : string = ''//Command Line Options // doesnt work!
bfvd : string = 'C:\Program Files\EA GAMES\Battlefield Vietnam'; //Directory
Then to execute:
CreateProcess(nil, PChar(bfvd+bfvf+bfvc), nil, nil,False,
CREATE_NEW_PROCESS_GROUP+NORMAL_PRIORITY_CLASS,
nil, nil, StartInfo, ProcInfo);
|