Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Building a Terminal Services Aware Application

You can run legacy applications in a Terminal Services environment. When the terminal server loads an application that is not Terminal Services aware, it also loads a DLL that contains compatibility code. If your application is Terminal Services aware, you can avoid the overhead of loading this extra DLL and running the compatibility code.

To indicate that your application is Terminal Services aware, set the IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE flag in the optional header. If you are using the linker that ships with Microsoft Visual C++, you can use the TSAWARE linker option to set this flag. If you are writing an application that does not write to HKEY_CURRENT_USER during setup, it can set the IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE flag. For more information, see Storing User-Specific Information.


Send comments about this topic to Microsoft

Build date: 5/29/2008

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.