Perform the following steps:
- Create a new Service Application by navigating to File | New | Other... then Delphi Projects | Service Application.
- As soon as Delphi creates the project template, save all the files with the following names:
- Save the project as PhoneBookService.dproj
- Save the service module as ServiceU.pas
- Show the object inspector for the service module and set the following properties:
- AllowPause = False
- DisplayName = 'PhoneBookService'
- Now, add the WebModule from the developing (the file is named WebModuleU.pas and should be in the Chapter06\CODE\RECIPE01 folder) to the project. This step allows us to reuse the code written for the console application for the service application.
- Now, your Project ...