Mega Search
23.2 Million


Sign Up

Make a donation  
Application Remains Hidden upon Log-In  
News Group: embarcadero.public.delphi.nativeapi

Hi,

I had developed my Delphi Application without consideration of converting to a Service.
Now customers want my application to run on Servers even before they Log-in.

Since that will take me a while to re-code I tried and am successfully running the application calling it via a dummy service that I created just to call my application at start-up.

My Problem 
1) The Application does not become visible even after user logs in. Is there a way out ?
2) I wonder if executing this way will cause me any problem in other Windows OS.

Regards
Allan Fernandes

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 27-Nov-2014, at 10:06 PM EST
From: Allan Fernandes
 
Re: Application Remains Hidden upon Log-In  
News Group: embarcadero.public.delphi.nativeapi
Allan wrote:

> Since that will take me a while to re-code I tried and am successfully
> running the application calling it via a dummy service that I created
> just to call my application at start-up.

Are you aware of Microsoft's SRVANY service?  It does exactly that.

> 1) The Application does not become visible even after user logs in.

That is because the app is running within the service's desktop session, 
not the user's desktop session.

> Is there a way out ?

Not an easy way, no.  And especially not since the app has to run while a 
user is not logged in.  Anything you do to address the visibility issue would 
require a redesign anyway, so you may as well just focus on designing your 
new service for the backend logic, and create a separate UI app for users 
to run to display the service's input/output/config/etc.

--
Remy Lebeau (TeamB)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 28-Nov-2014, at 2:32 PM EST
From: Remy Lebeau (TeamB)