I’m quite a newby on Windows Services. But I need to switch from a server (desktop executable) to a windows service. Which can be done quite easily using RO. Thanks for that.
My server (and thus service) loads a lot of static data in memory. Clients can query among that data via several requests. The main issue is that the loading of the static data takes about 90 seconds. And Windows Service throws a time-out after 30 seconds and thus my service will never be started.
Currently the static data is loaded directly with the first datamodule that is created via ROService.CreateForm(TDmMyStaticDataModule, DmMyStaticDataModule).
Is there any parameter / method from within my RO service to allow the startup time of 90 seconds? (A regedit change that I found on the web is not really a solution that I prefer).
Or probably, I should take a completely other approach? But well… My service needs the data… I’m open to any suggestion and solution.
Thanks in advance.