-
Notifications
You must be signed in to change notification settings - Fork 0
/
NeTmSvNT.dpr
32 lines (26 loc) · 975 Bytes
/
NeTmSvNT.dpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ ************************************************************************
NetTime is copyrighted by Graham Mainwaring. Permission is hereby
granted to use, modify, redistribute and create derivative works
provided this attribution is not removed. I also request that if you
make any useful changes, please e-mail the diffs to [email protected]
so that I can include them in an 'official' release.
************************************************************************ }
program NeTmSvNT;
uses
SysUtils, SvcMgr,
ServiceMain in 'ServiceMain.pas' {NetTimeSvc: TService},
NetTimeThread in 'NetTimeThread.pas',
ConfigObj in 'ConfigObj.pas',
mutex in 'mutex.pas',
NetTimeCommon in 'NetTimeCommon.pas';
{$R *.RES}
begin
Application.Initialize;
Application.Title := 'NetTime NT Service';
Application.CreateForm(TNetTimeSvc, NetTimeSvc);
try
Application.Run;
except on e: Exception do
NetTimeSvc.LogMessage(e.Message);
end;
end.