Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Dephpi Apps in a Citrix (Terminal Services) environment

64 views
Skip to first unread message

Sohel Mohammad

unread,
May 9, 2003, 12:15:20 PM5/9/03
to
Hi,

I was wondering if any one has experiance a similar behaviour running Delphi
Apps in Citrix environment and cna shed some light on this. For some
strange reason, no icon gets displayed on the Task Bar for any Delphi Apps
when you run them. Has any one seen this behaviour? Is there anything
special that needs to be done for delphi apps to show up on the task bar?
Any help, comments, suggestions will be greatly aprreciated. Thanks.

Maynard Philbrook

unread,
May 9, 2003, 12:59:46 PM5/9/03
to
Hmm.
  terminal services means just what it saids.
 you get a display and input to the app.
 you don't actually get the program core on the pc unless you
specify it to load and run there but even then desktop for may be
else where.
   you can think of terminal services like a mainframe.
  I am sure there are other configurations but that is how ours run when
we do terminal services. just a simple Display and input stream to the app which

is actually else where.

Brad Casey

unread,
May 9, 2003, 1:29:32 PM5/9/03
to
Are you running a remote desktop or a published application?
Also, which taskbar are you speaking of, the Citrix box or the Client box?
What resolution setting do you have for the application set?


"Sohel Mohammad" <sohel.m...@integic.com> wrote in message
news:3ebb...@newsgroups.borland.com...

Paul Ericksen

unread,
May 9, 2003, 2:45:41 PM5/9/03
to
I haven't used Citrix, but unlike many other windows applications, Delphi
has a separate window with the class of TApplication and that is what shows
in the taskbar. Your forms are then top-level forms. Most other apps have
the same window both be the main form and the task bar. If you use a program
to view all of the open top level windows handles with class and caption
information, you can instantly spot delphi applications because of this
characteristic. If the Citrix server doesn't recognize the TApplication
window as belonging to your application, then it may not send the info to
the client to display it. But again, I haven't ever worked with Citrix. Hope
this helps


Dennis Passmore

unread,
May 12, 2003, 2:03:26 PM5/12/03
to
We had the same problem with our apps and Citrix and here is a response we got directly from the
Citrix people on how to get around it.

(e-mail from Citrix)
> I was able to repro your issue and resolve it by doing the following:
> a)Run Regedt32
> b)Go to HKLM/System/CurrentControlSet/Control/Citrix/wfshell/TWI
> c)Highlight the TWI Key, then from the Edit Menu select "Add Key"
> d)Type, TfrmTopGun for the Key Name, and leave the Class: blank.
> e)Highlight the newly created TfrmTopGun Subkey.
> f)From the Edit Menu, select "Add Value"
> g)Type, ClassName for the Value Name.
> h)Select, REG_SZ for the Data Type.
> i)Type, TfrmTopGun for the "String" value.
> j)From the Edit Menu, select "Add Value" (again)
> k)Type the word "Type" for the Value Name.
> l)Select, REG_DWORD for the Data Type.
> m)Type, <Hex 40 or Decimal 64 for Exception Flag> for the Hex Value.
>
> Setting this value to a window class forces the seamless engine to
> intentionally use the GetParent API to get the parent window on the
> specified window classname.
> Basically I used SPYxx.exe to get the Window Class Name of the main
> form, then made the above registry entry. I also tried to repro this
> problem with a generic VB6 and MFC app and could not. It seems Delphi
> does things a little differently.
>
> If I set the value to hex 41 (decimal 65), I get both the icon on the
> task bar and the fix for the modal window problem.


Dennis Passmore
Ultimate Software, Inc


"If you cannot conceive the idea you
will never achieve the desired results"

Sohel Mohammad

unread,
May 15, 2003, 3:38:26 PM5/15/03
to
Thank you all for your resoponses.
Brad, The problem is on the Citrix box. It is a regular delphi desktop
application.
Dennis, I think I will try out your solution and see if that works for me.
Again thank you all.


"Sohel Mohammad" <sohel.m...@integic.com> wrote in message
news:3ebb...@newsgroups.borland.com...

0 new messages