Re: Q: Creating an NT Service in VC++ 6.0
From: David (FlyLikeAnEagle_at_United.Com)
Date: 06/19/04
- Next message: Ivan Brugiolo [MSFT]: "Re: Basic security question"
- Previous message: Alexander Grigoriev: "Re: bool and =="
- In reply to: Chris Gray: "Re: Q: Creating an NT Service in VC++ 6.0"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 19 Jun 2004 02:10:11 GMT
On Fri, 18 Jun 2004 15:11:38 UTC, Chris Gray <cpgray@library.uwaterloo.ca>
wrote:
> On Thu, 17 Jun 2004, William DePalo [MVP VC++] wrote:
>
> > "David" <FlyLikeAnEagle@United.Com> wrote in message
> > > The general method for making services is not friendly to programs
> > > that require the Windows Event Processing Loop. (e.g. a GUI) I've
> > > heard it can be done and I've made some headway but nothing I find
> > > truely useful yet.
> >
> > IMO, this is like swimming upstream. :-)
> >
> > That's because services by default, and just-because in the presence of a
> > good security policy, run on an invisible desktop. If you create a window in
> > a service your user wont see it anyway. It is far better to have a client of
> > a service which runs on the visible desktop handle UI tasks.
>
> Thanks to both Will and David for their suggestions. I have succeeded in
> writing a service without wizards, ATL, or .NET. I think I was having a
> moment of despair just on the brink of finally getting it. Once I sat
> down to it the next day, it went pretty smoothly.
>
> Chris
Chris,
I'm glad to hear you figured it out.
Have fun,
David
- Next message: Ivan Brugiolo [MSFT]: "Re: Basic security question"
- Previous message: Alexander Grigoriev: "Re: bool and =="
- In reply to: Chris Gray: "Re: Q: Creating an NT Service in VC++ 6.0"
- Messages sorted by: [ date ] [ thread ]