Article View: borland.public.cppbuilder.nativeapi
Article #1036Re: How to keep a Process running after user logs off
From: Paul
Date: Thu, 15 Nov 2007 05:10
Date: Thu, 15 Nov 2007 05:10
42 lines
2038 bytes
2038 bytes
Remy Lebeau (TeamB) wrote: > > "Paul" <paulm@xacom.com.au> wrote in message > news:473a8a10$1@newsgroups.borland.com... > > > Am I heading in the right direction ? > > No. To have a process running without a user logged in, you need to > write a service application instead. > Having explored this some more it appears to be possible in Win XP at least. 1. For example http://www.ifdef.com/support/kb_article.asp?article_id=Q0202041612& indicates they have a solution? For a $6K product I hope the would! 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 then log on as User2 - I can see the log entries incrementing. I then log off for a period and then log back on as User2. The log does not contain any gaps which seems to indicate that the process kept running while User 2 was logged off. 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. thanks Paul --
Technical Details
Message-ID:
<473be2c8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<473a8a10$1@newsgroups.borland.com> <473b35fd@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-7-bit From: "Paul" <paulm@xacom.com.au> Subject: Re: How to keep a Process running after user logs off Newsgroups: borland.public.cppbuilder.nativeapi References: <473a8a10$1@newsgroups.borland.com> <473b35fd@newsgroups.borland.com> User-Agent: XanaNews/1.18.1.6 NNTP-Posting-Host: 203.5.1.209 Message-ID: <473be2c8$1@newsgroups.borland.com> Date: 14 Nov 2007 22:10:16 -0700 X-Trace: newsgroups.borland.com 1195107016 203.5.1.209 (14 Nov 2007 22:10:16 -0700) Lines: 43 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail