JVCL Help:TJvCPSFlag

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Controls the creation of a process by a TJvCreateProcess component.

run\JvCreateProcess.pas


Pascal

 run\JvCreateProcess.pas
 TJvCPSFlag = (
cfDefaultErrorMode,
cfNewConsole,
cfNewProcGroup,
cfSeparateWdm,
cfSharedWdm,
cfSuspended,
cfUnicode,
cfDetached
);
TJvCPSFlags = setof TJvCPSFlag;


Members

Members Description
cfDefaultErrorMode Instead, the new process gets the current default error mode.
cfNewConsole For more information, see 'Creation of a Console' in the MSDN library. This option is only valid if CreationFlags doesn't include cfDetached.
cfNewProcGroup The process group includes all processes that are descendants of this root process. The process identifier of the new process group is the same as the process identifier, which is returned in the ProcessInfo property.
cfSeparateWdm If set, the new process runs in a private Virtual DOS Machine (VDM). By default, all 16-bit Windows-based applications run as threads in a single, shared VDM. The advantage of running separately is that a crash only terminates the single VDM; any other programs running in distinct VDMs continue to function normally. Also, 16-bit Windows-based applications that are run in separate VDMs have separate input queues. That means that if one application stops responding momentarily, applications in separate VDMs continue to receive input. The disadvantage of running separately is that it takes significantly more memory to do so. You should use this flag only if the user requests that 16-bit applications should run in them own VDM.
cfSharedWdm If the DefaultSeparateVDM switch in the Windows section of WIN.INI is TRUE, this flag overrides the switch. The new process is run in the shared Virtual DOS Machine.
cfSuspended The primary thread of the new process is created in a suspended state, and does not run until the Windows API function ResumeThread is called.
cfUnicode If this flag is set, property Environment uses Unicode characters. Otherwise, the environment block uses ANSI characters.
cfDetached The new process can call the AllocConsole function at a later time to create a console. For more information, see 'Creation of a Console' in the MSDN library. This option is only valid if CreationFlags doesn't include cfNewConsole.

run\JvCreateProcess.pas


Description

TJvCPSFlag values controls the creation of a process by a TJvCreateProcess component.
TJvCPSFlags is a set of TJvCPSFlag values.

run\JvCreateProcess.pas


See Also

TJvCreateProcess.Priority, TJvCreateProcess.Run

run\JvCreateProcess.pas


About

Navigation

no pages or subcategories

run\JvCreateProcess.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page