Autor Beitrag
kad_we
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 78


D6; Turbo Delphi 2006
BeitragVerfasst: Mo 24.11.03 15:31 
wie kann ich per button oder ähnlichem den NT rechner sperren?
sowas wie...
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
procedure button1.click(...);
begin
sperrNT(true);
end;

procedure button2.click(...);
begin
sperrNT(false);
end;


thx kad_we

[/delphi]
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 24.11.03 16:48 
Ab 2000 ist die API Funktion LockWorkstation offiziell Dokumentiert. Probier doch einfach, ob es schon unter NT 4 auch geht.
kad_we Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 78


D6; Turbo Delphi 2006
BeitragVerfasst: Mo 24.11.03 16:52 
ok mal schauen... reagieren die programme denn auch noch, wenn die workstation gesperrt ist?
kad_we Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 78


D6; Turbo Delphi 2006
BeitragVerfasst: Mo 24.11.03 17:01 
nein funzt natürlich net... :autsch: *heul*

gibts vl. noch nen anderen Befehl, oder kann man die dll einfach ersetzen??