yoy.be "Why-o-Why"

run COM from an NT-Service

2006-06-13 20:58  r456  delphi  [permalink]

run COM from an NT-Service

And that appears to be it! Though "Windows 2003 isn't supported in D7, let alone Delphi 6.", all you need to do (at least in Delphi6 this works) is move the "Application.Initialize;" from the dpr to the TService.OnStart event handler. If you don't have one, create one by double clicking the OnStart field in the Object Inspector when viewing the TService datamodule kind of thing.

twitter reddit linkedin facebook