Products:

- SvCom
- Shell+
- PerfUtils

Download:

- SvCom
- Shell+
- PerfUtils

Ordering:

- Order now

Support:

- Contact directly


Embarcadero Technology Partner

 
    Step 1. New SvCom application  

As usual the first step is a project creation. SvCom components requires the NT Service Application be used as a base of project. To create it go to the File|New dialog and select the SvCom page

New Items Dialog

Select the "NT Service Application" item from the list and press OK. The new project will be created. Save it as SvComExample1.dpr.

Note that the "uses" section of the project created does not contain Forms unit. The SvCom_NTService unit is used instead.

 

uses
    SvCom_NTService;

This unit contains the Application variable that is used in the same manner but performs some specific actions necessary to implement the service behaviour.


 
 
 
 

begin
    Application.Initialize;
    Application.Run;
end.

In future be aware that the Form unit is not included into the "uses" section of project file or at least the SvCom_NTService unit goes after it. Only in this case the Delphi compiler will use the Application variable from the SvCom_NTService unit, not from the Forms unit.

 
<< :: 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.