writing a windows service
ok, i've been browsing little code samples and docs about windows services, and i haven't been able to make much sense out of it.
i get that you have to have the functions to install/uninstall the service and a service main to enter into, but where do you put your program code? all of the examples that i've seen don't really have any executable code (like, a function that actually does anything aside from set up the service). where do you insert your program code in the service code? and does anybody have a good example for a newbie at windows services?