Search code examples
delphidatasnap

How to convert datasnap server from vcl app to windows service


I have typical tcp/ip datasnap server app, I created as vcl forms (XE 8) and it connect to Firebird database on the same machine, now I want to convert it to run as windows service. How I can do that ?


Solution

  • You can create a datasnap application as a Windows Service from File->New->Other->DataSnap Server->DataSnap Server; first wizard form, select "Service Application", complete the wizard amd migrate your non-UI code into that project.