Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 75361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:30:15+00:00 2026-05-10T20:30:15+00:00

Forgive me for probably using the wrong term for this application mode. Our application

  • 0

Forgive me for probably using the wrong term for this ‘application mode’.

Our application has a problem during start in that it doesn’t show a task bar icon until the main window is up, even though there are loading progress windows, logon-windows, etc. on screen before that.

We change the code to fix this, but unfortunately this fix, when running the app through citrix, now shows two icons, one with just the icon and no text.

Is there a way for me to detect that the application is running through citrix? I don’t know the right term for this, but only the app window is brought to the users desktop, not the whole remote desktop.

If it matters, the app is written in Delphi.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:30:15+00:00Added an answer on May 10, 2026 at 8:30 pm

    Not sure exactly how to do this in delphi, but if you can call out to the user32.dll, and call the function:

    if (GetSystemMetrics(SM_REMOTESESSION) != 0) {    // We are in a remote session } 

    This should tell you if you are running in a Citrix or Terminal Services environment. SM_REMOTESESSION is defined as:

    #define SM_REMOTESESSION        0x1000 

    More info on the GetSystemMetrics api here: Link to msdn

    Edit The following page describes how to do exactly the above in delphi. What works for Terminal Services should also work for Citrix:

    Is your Delphi Application Running under Terminal Services as a Remote Session

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 70k
  • Answers 70k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Here's an old discussion thread where I listed the main… May 11, 2026 at 12:52 pm
  • added an answer This should work: .//button[.='OK' and not(ancestor::div[contains(@style,'display:none')]) and not(ancestor::div[contains(@style,'display: none')])] EDIT:… May 11, 2026 at 12:52 pm
  • added an answer It was a bug (my post at user group was… May 11, 2026 at 12:52 pm

Related Questions

Forgive me for a potentially silly question here, but in other programming languages (scripting
In Ruby (forgive me for mentioning it's name) I noticed you could do a
I hope you'll forgive me for thinking that configuring a DNS server would be
Forgive me, for I am fairly new to C++, but I am having some
I have a class called Player in the business layer of my web application.
Ok, so that title probably doesn't explain my question well. Hopefully this makes sense.
What is the purist or correct way to access an object's properties from within

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.