How do I create a Service or Daemon for Win95 and NT in Delphi 2

I would like to create a program using Delphi 2 that runs as a service or
daemon under both Win95 and Win NT. I don't need or want it to have a
window or to appear on the taskbar. All it has to do is run constantly in
the background issuing a command at intervals.
Does anyone know how to do this? (Especially without using VCL so the
program can be as small as possible?)
Thanks,
Mark.