Autor Beitrag
cybersoul
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 43



BeitragVerfasst: So 09.01.05 17:02 
Hi Leute.

Ich möchte unter Windows 98 prüfen,
wie lange das System inaktiv (Keine Benutzereingaben) ist.

Ab Windows 2000 sieht das ganze so aus:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
function LastInput:cardinal;
var LInput:tagLASTINPUTINFO;
begin
  LInput.cbSize:=SizeOf(tagLASTINPUTINFO);
  GetLastInputInfo(LInput);
  result:=LInput.dwTime;
end;


Aber wie mache ich das unter Windows 98?
Am besten ohne Hooks!

Heiko

Moderiert von user profile iconMotzi: Code- durch Delphi-Tags ersetzt.
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: So 09.01.05 17:38 

_________________
Ciao, Sprint.