Terminal Server Aware
Go Up to Delphi Compiler Directives (List) Index
Type |
Switch |
Syntax |
{$TSAWARE ON}, {$TSAWARE OFF} |
Default |
{$TSAWARE ON} |
Scope |
Global |
Remarks
The {$TSAWARE} sets a flag in the IMAGE_OPTIONAL_HEADER
DllCharacteristics
field in the program image's optional header. The Terminal Server does not make certain changes to the application when enabled.
If an application is Terminal Server aware, it must not rely on INI files or write to the HKEY_CURRENT_USER
registry during setup.
If you use {$TSAWARE} and your application still uses INI files, then the files are shared by all users of the system. If that's acceptable, you can still link your application with {$TSAWARE}; otherwise, disable this option.