Hello everybody,
Im trying to make a daemon in windows with C. I know that I cant use fork because its for linux, and that was my only option lol.
Any idea?
4 replies to this topic
#1
Posted 02 December 2011 - 04:21 AM
|
|
|
#2
Posted 02 December 2011 - 04:36 AM
In windows, they are called Services. That will help your google searches a lot.
#3
Posted 03 December 2011 - 12:16 PM
The Windows equivalent of fork() is spawn(). That's all I know.
Programming is a journey, not a destination.
#4
Posted 04 December 2011 - 05:52 AM
Depending upon your requirements a Windows Service might be what you need, but you're probably better off with CreateProcess(). See the MSDN documentation for it at ...
CreateProcess function
There's some example code there too.
CreateProcess function
There's some example code there too.
#5
Posted 05 December 2011 - 06:27 AM
I will try, thanks guys
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









