NT Service Development in PowerBASIC
I've spent some time on creating services in NT using PowerBASIC, and I came up with a BAS file that has the necessary boilerplate code in place. You can get the code by clicking here. Granted, the code doesn't do much on its' own (that's your job ;) ) but at least it gives you a start. If you want to get a thorough understanding of NT services, get Kevin Miller's book, "Professional NT Services," published by Wrox Press. It has more than you'll ever want on NT service development.