What can Services do under Windows?

后端 未结 5 511
谎友^
谎友^ 2021-01-03 15:04

Does anyone have a good guide to capabilities of Windows Services under XP? In particular, I am trying to find out what happens when a program being run as a service tries t

5条回答
  •  梦谈多话
    2021-01-03 15:49

    Usually the service won't have permission to write to the window station and desktop, so it will fail; even running applications that load user32.dll can fail simply because user32 has initialization code that wants to talk to the window station and can't get access to it unless the service is running as an administrator.

提交回复
热议问题