Making a DCOM server a DCOM NT *service*


I've got an already complete DCOM server that uses BDE and has some
interaction with the display, e.g. an icon in the system tray.

I'd like to make it into an NT service. I've tried the usual registry
but that makes BDE fail its initialisation. Is there anyway around this?
Will using Delphi 5 help?