W
wlyft
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.FormCreate(Sender: TObject);
var
temp: Integer;
begin
SystemParametersInfo(SPI_SCREENSAVERRUNNING, 1, @temp, 0);
end;
procedure Form1.OnClose(Sender: TObject;
var Action: TCloseAction);
var
temp: Integer;
begin
SystemParametersInfo(SPI_SCREENSAVERRUNNING, 0, @temp, 0);
end;
照抄还是出错:"[Error] netclient.pas(67): Missing operator or semicolon"
实在不懂,请大帮一下!
var
temp: Integer;
begin
SystemParametersInfo(SPI_SCREENSAVERRUNNING, 1, @temp, 0);
end;
procedure Form1.OnClose(Sender: TObject;
var Action: TCloseAction);
var
temp: Integer;
begin
SystemParametersInfo(SPI_SCREENSAVERRUNNING, 0, @temp, 0);
end;
照抄还是出错:"[Error] netclient.pas(67): Missing operator or semicolon"
实在不懂,请大帮一下!