daemon how to in windows

This is a discussion on daemon how to in windows within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I want to start my c application and want it to run in background. In linux we can use ...

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    14

    Post daemon how to in windows

    Hi,

    I want to start my c application and want it to run in background.

    In linux we can use fork() and setsid() for this.

    But, how can I run in windows.

    If any examples provide me.

    Thank you.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Do a search for windows services. There are loads of code examples on the web

  3. #3
    Registered User
    Join Date
    Apr 2006
    Posts
    14
    thank you.

    But the examples are in dot net.

    I need to know for daemon (windows services) in c.

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    214
    Let me google that for you

    First link that comes up.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 03:16 PM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 06:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 03:55 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 01:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 06:31 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21