Products:

- SvCom
- Shell+
- PerfUtils

Download:

- SvCom
- Shell+
- PerfUtils

Ordering:

- Order now
- Resellers

Support:

- Contact directly


Embarcadero Technology Partner

 
    Step 3. Setting the NTService properties  

Go to the 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.

NT Service properties

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.


 
 
 
 
 

begin
    Application.Initialize;
    Application.CreateForm(TSampleService1,SampleService1);
    Application.Run;
end.
<< . index . 1 . 2 . 3 . 4 . 5 . 6 . >>
SvCom links:

- Overview
- Download
- Purchase
- FAQ
- Tutorial
- What's new
- For registered users
- Support

Copyright:

© 1998-2003. Alexey Dynnikov
© 2003-2016. ALDYN Software
© Design: Adonis i-cafe.