Creates a new process and its primary thread. The new process executes the specified executable file.
vCreateProcess = Kernel.CreateProcess ([ApplicationName as String], [CommandLine as String], [InheritHandles as Boolean = False], [CreationFlags as ProcessCreationFlags = pcfNone], [Environment as String], [CurrentDirectory as String], [TimeOut as Long = toNoWait])
| Where | Type | Optional | Default | Description |
|---|---|---|---|---|
| ApplicationName | String | yes | ||
| CommandLine | String | yes | ||
| InheritHandles | Boolean | yes | False | |
| CreationFlags | ProcessCreationFlags | yes | pcfNone | |
| Environment | String | yes | ||
| CurrentDirectory | String | yes | ||
| TimeOut | Long | yes | toNoWait |
Long
CloseHandle, CopyFile, CreateProcess, DeleteFile, GetFileSize, MoveFile, Sleep, SwitchToThread, WaitForSingleObject
CommandLine, ComputerName, CurrentDirectory, CurrentProcess, CurrentThread, EnvironmentStrings, EnvironmentVariables, hrCounter, hrFrequency, hrTimeCounter, TempPath, TickCount
COM API for calling some of Kernel32 functions.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz