Re: Delphi and Citrix issue
- From: "Lars Black" <lcb at sense-it dot dk>
- Date: Thu, 29 Dec 2005 00:41:54 +0100
A couple of years ago, Danny Thorpe posted some info about making your
Delphi application Terminal Service aware - maybe the same applies to Citrix
as well?
Cheers,
Lars
Quote from Danny:
"Search MSDN for the info on how to make your app Terminal Services
efficient
(here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/building_a_terminal_services_aware_application.asp)
The Delphi compiler has a compiler directive {$SETPEOPTFLAGS nnn} to let you
set the magic bit (IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE = $8000)
in the PE exe header that indicates that the exe is safe for use as a
Terminal Services server app. This can reduce the server-side memory
overhead of hosting the app from around 11MB per app instance down to about
100k per app instance.
The main restrictions necessary for efficient execution under Terminal
Services are to avoid writing per-user configuration data to .ini files, and
to avoid using the HKEY_CURRENT_USER section of the registry. For a
Terminal Services-optimized app, there is no current user context on the
server machine."
.
- Follow-Ups:
- Re: Delphi and Citrix issue
- From: Sarah
- Re: Delphi and Citrix issue
- From: Abdullah Kauchali
- Re: Delphi and Citrix issue
- References:
- Delphi and Citrix issue
- From: Levend Sener
- Re: Delphi and Citrix issue
- From: Steve Zimmelman
- Delphi and Citrix issue
- Prev by Date: Re: More features of Delphi 2005
- Next by Date: Re: D2006 IDE thoughts ...
- Previous by thread: Re: Delphi and Citrix issue
- Next by thread: Re: Delphi and Citrix issue
- Index(es):
Relevant Pages
|