Info about terminal services using mfc written application

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello everybody,

Here is the simple question: can my exe file, written in C++/MFC know,
that it was called by terminal services, rather then just “double
clicking”.

And the difficult question is: let’s say this exe being called twice
by two different terminal services users. Can this exe retrieve
some info related to each client? I’m not talking about process id,
which will vary every time exe being called. I mean some permanent
parameter, related to this terminal services user?

Thanks,
Alex
.



Relevant Pages

  • Re: terminal services compatibility
    ... terminal services didn't quite work like that. ... I seem to recall that the user's working space is a separate folder ... than any exe they might be running. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Info about terminal services using mfc written application
    ... "Alex" wrote in message ... by two different terminal services users. ... Can this exe retrieve ...
    (microsoft.public.vc.mfc)
  • Re: Application caching
    ... Microsoft MVP - Terminal Services ... We have set up Server 2008 with Terminal Server for about 10 users. ... All those users use the same application (a single exe from a network ...
    (microsoft.public.windows.terminal_services)
  • Re: Installing SP1 on 2003 Terminal Server
    ... installing SP1 on our Windows 2003 Terminal Services application ... I have downloaded the exe from the Microsoft website. ...
    (microsoft.public.windows.server.sbs)
  • Cannot run programs from cmd
    ... For some reason i cannot run exe from cmd when i am ... logged in via terminal services.. ... command when i am in person at the server.. ...
    (microsoft.public.win2000.termserv.clients)