Making a DCOM server a DCOM NT *service*

Hi,

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
changes
but that makes BDE fail its initialisation. Is there anyway around this?
Will using Delphi 5 help?

Thanks