Re: Delphi and Citrix issue



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."


.



Relevant Pages

  • Re: Roaming Profile users having issues with Citirx App
    ... Your Terminal Services Security Website ... terminal server application. ... them use the app, had them log out and then log back in and the settings ...
    (microsoft.public.windows.terminal_services)
  • Re: Running app over Internet with TS
    ... To use Terminal Services, you need a Windows Server OS, TS licenses ... MS Access application accessible over the internet. ... then can TS provide me with an option to run the app over the Internet ...
    (microsoft.public.windows.terminal_services)
  • Re: preliminary questions on using TS for remote site to data center
    ... I am thinking the best thing to do is setup a terminal services server in the central office, where the database server is, and having the new sites use terminal services to use the processing software. ... This way we don't have to try to run the app over a WAN and don't have to have seperate remote database servers, ... In terms of sizing the terminal server hardware I assume I only need to take into account how much memory the actual app is using right? ...
    (microsoft.public.windows.terminal_services)
  • TS and new SQL Server 2000 app
    ... I have no experience w/TS except for occasional connections at my main ... This lab uses XP boxes but connect to the Access app on Windows 2k via ... Terminal Services; they say the performance is much faster because ... When moved to SQL Server, they want the same type of set-up. ...
    (microsoft.public.win2000.termserv.apps)
  • Re: Autonumber duplication
    ... The app is huge, compared to usual Acc ... I learned duplication from users laments telling some data items ... Have Autonumber field start from a value different from 1 ... The app runs over WindowsServer 2003, Terminal services. ...
    (microsoft.public.access.modulesdaovba)