PDA

View Full Version : Service Log On (All)



ChrisPeto
11-21-2003, 11:33 AM
I have a program that runs under w2k and winXP as a service. It cannot call my printing program unless I, manually, in Services/Properties/Log On add a Log On. Is there a way by install or other to set this setting from my program that runs as a service?

I am using MS VC++ 6.0 to write both programs.

Thanks
Chris Peto

<P ID="edit"><FONT class="small">Edited by ChrisPeto on 11/21/03 11:40.</FONT></P>

lzh
11-23-2003, 12:38 AM
See ChangeServiceConfig function and other SCM functions.