i build a service shell that launch, close and detect when the application was closed (by process list), This shell inherit from TService (Service application wizard).
In my project i use this for 2 application can i do this generic?
i have the following code:
TGenericServiceShell = class(TService)
TMyService = class(TGenericServiceShell)
MyService unit was created by using ‘Service application’ wizard, I changed the inheritance from TService to TgenericServiceShell, and then when closing the project and load it again i get an error about name missing, the service main form replaced with another one and the service doesn't work.