![]() |
| | #1 |
| Registered User Join Date: Apr 2006
Posts: 14
| 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. |
| kalamram is offline | |
| | #2 |
| &TH of undefined behavior Join Date: Aug 2001
Posts: 5,183
| Do a search for windows services. There are loads of code examples on the web
__________________ "If A is success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut." Albert Einstein (1879 - 1955) Board Rules |
| Fordy is offline | |
| | #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. |
| kalamram is offline | |
| | #4 |
| Registered User Join Date: Dec 2007
Posts: 146
| |
| DaveH is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows 98/2000 programming in Windows XP | Bill83 | Windows Programming | 3 | 07-22-2005 02:16 PM |
| Dialog Box Problems | Morgul | Windows Programming | 21 | 05-31-2005 05:48 PM |
| dual boot Win XP, win 2000 | Micko | Tech Board | 6 | 05-30-2005 02:55 PM |
| SDL and Windows | nickname_changed | Windows Programming | 14 | 10-24-2003 12:19 AM |
| IE 6 status bar | DavidP | Tech Board | 15 | 10-23-2002 05:31 PM |