Re: how do i make a service survive a log off in win98?

From: Ferruccio Barletta ("Ferruccio)
Date: 05/24/04


Date: Mon, 24 May 2004 10:28:28 -0400

Call RegisterServiceProcess(), it's a 9x API that tells the OS to treat a
process as a service, i.e. don't kill it on logoff. If I remember correctly,
you have to get its address by calling
GetProcAddress("RegisterServiceProcess") on kernel32.dll.

-- FGB

"Dave" <deepthinkernospam@btinternet.com> wrote in message
news:c4sg2d$qs1$2@newsg4.svr.pol.co.uk...
> Hi
>
> I am writing a client app for windows 98 that is run via a registry value
in
> 'runservices', the code then registers itself as a service by calling the
> registerserviceprocess. However, although the app is no longer displayed
on
> the taskmanager, it is still closed when a user logs off.
>
> Can anyone explain what I need to do?
>
> Thanks in advance
> Dave
>
>