🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1037

Re: How to keep a Process running after user logs off

#1037
From: Leo Havmøller
Date: Thu, 15 Nov 2007 12:10
18 lines
1785 bytes
> 2. I have a process (BCB6 Application) that simply logs to a file every
> 5 seconds.
>
> User1 and User2 have sysadmin rights. If I use the Windows scheduler to
> start this process at system start up as user1.

I.e. it runs under the local system account, like a service application 
would.

> The problem I have with this is that the process is not visible either
> logging on as User1 or User2. I'm still working on this problem and any
> help would be much appreciated.

Desktop interation is documented for service applications.
You are still heading in the wrong direction. Write a service application 
instead and be done with it.

Leo Havm�ller. 
Technical Details
Message-ID: <473c3722$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <473a8a10$1@newsgroups.borland.com> <473b35fd@newsgroups.borland.com> <473be2c8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5b3e8d07685d8c18
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII
From: Leo Havmøller <rtxleh@nospam.nospam>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <473a8a10$1@newsgroups.borland.com> <473b35fd@newsgroups.borland.com> <473be2c8$1@newsgroups.borland.com>
In-Reply-To: <473be2c8$1@newsgroups.borland.com>
Subject: Re: How to keep a Process running after user logs off
Date: Thu, 15 Nov 2007 13:10:10 +0100
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
NNTP-Posting-Host: 87.54.11.130
Message-ID: <473c3722$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1195128610 87.54.11.130 (15 Nov 2007 04:10:10 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail