HElp needed to create a windows service , to launch a simple thread created by the user.
I got an article here...

Five Steps to Writing Windows Services in C


But how to create a thread at apropriate places , like STOP , RESUME , SHUTDOWN?.PLease
give me some pointers ,

thanks in advance...