To the main page...The list of my products...Some texts...Sample applications, tips, tricks...If you need support...

Simple NT Service
Step 3. Setting the NTService properties

Important note: The source code of this example is included into SvCom package. The latest version of this example is available here: Simple NT Service Example.

Go to the Delphi's Object Inspector and set the NTService module properties. Set the "Name" property to the 'SampleService1' and "DisplayName" to the 'SvCom Example N 1'. In future you will see the DisplayName on the Services Control Panel applet. The Name property value can be used to control the service from the command line.

Object Inspector

The previous and the current steps affect the project source. Look at it. You will see that the "uses" section`s changed, namely the new unit`s added to it. The project execution part is changed too. The added text is marked by background color below. This line is added automatically and looks exactly as in ordinary Delphi project.


<< | Index | Step 1 | Step 2 | Step 3 | Step 4 | Step 5 | Step 6 | >>

© 1998-2014 Alexey Dynnikov