CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2009
    Posts
    9

    Question Process that continues after you logoff

    Hi !

    I'm desperately seeking, not Susan, but a way to spawn a process on my computer which will not be killed when I logoff. Some sort of a background process ...

    Any ideas out there will be highly appreciated.

    Thanks.

  2. #2
    Join Date
    Feb 2009
    Location
    India
    Posts
    444

    Re: Process that continues after you logoff

    You need an auto-start windows service.
    «_Superman
    I love work. It gives me something to do between weekends.

    Microsoft MVP (Visual C++)

  3. #3
    Join Date
    May 2009
    Posts
    9

    Re: Process that continues after you logoff

    Thank you.

    How exactly could this work ? My customer is using our software and has the ability to launch a very long process (to compute something). I would like to give him the possibility of logging out for the week-end.

    Can standard user start theses services - I cannot ask my customers to change their privileges...

    Thanks again

  4. #4
    Join Date
    Feb 2009
    Location
    India
    Posts
    444

    Re: Process that continues after you logoff

    Services run in the Local System user context by default.
    It can do work on behalf of the active user.

    Look at some documentation - Introduction to Windows Service Applications
    «_Superman
    I love work. It gives me something to do between weekends.

    Microsoft MVP (Visual C++)

  5. #5
    Join Date
    May 2009
    Posts
    9

    Re: Process that continues after you logoff

    I WILL do some reading ... a whole new unexplored world.

    Thank you and have a nice day

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured