home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Plus! (NZ) 2001 June
/
HDC50.iso
/
Runimage
/
Delphi50
/
Bin
/
DCLSTD50.BPL
/
0
/
RCDATA
/
SERVICE
< prev
next >
Wrap
Text File
|
1999-08-11
|
675b
|
48 lines
program %s;
uses
SvcMgr;
{$R *.RES}
begin
Application.Initialize;
Application.Run;
end.
|unit %s;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, SvcMgr, Dialogs;
type
T%s = class(T%s)
private
{ Private declarations }
public
function GetServiceController: TServiceController; override;
{ Public declarations }
end;
var
%1:s: T%1:s;
implementation
{$R *.DFM}
procedure ServiceController(CtrlCode: DWord); stdcall;
begin
%1:s.Controller(CtrlCode);
end;
function T%1:s.GetServiceController: TServiceController;
begin
Result := ServiceController;
end;
end.
|
|