Answer the question
In order to leave comments, you need to log in
Is it possible to call an application from a service so that it is displayed on the user's desktop in Delphi 7?
Hello.
I am writing a service in Delphi. Moreover, I create it by declaring it so that it does not have a visual part.
I need to call a third-party exe program (also written in Delphi) on a certain event from this service so that it is displayed on the desktop of the user of this PC that is currently active.
Is it possible to do so?
P.S. I understand that it is still possible for users to make separate programs at the time of installing the service, but then they will have to be put into autoload or something like that. And all I need is for the interaction interface to appear only for certain events. And the option of launching at the right time would be better.
Maybe somehow through uses ShellApi it is possible using ShellExecute?
Answer the question
In order to leave comments, you need to log in
However, an agent who will communicate with the service is desirable.
You can see how it works, for example Cobian Backup. It is written in Delphi in just such a concatenation. There is somewhere the source of the old version.
But you can start a process from a service this way. CreateProcessAsUser
https://stackoverflow.com/questions/11907299/creat...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question