Solved

Lock Ctrl+Alt+Del in WinNT 4.0

Posted on 1998-08-26
1
310 Views
Last Modified: 2010-04-04
How can I lock the key combination Ctrl+Alt+Del and Alt+Tab in my Delphi-Application for WinNT 4.0. The API function SystemParameterInfo(SPI_Screensaverrunning....) ist only working in Windows 95.
Who can help me ?
0
Comment
Question by:Pele
1 Comment
 
LVL 4

Accepted Solution

by:
d003303 earned 20 total points
ID: 1337807
Winlogon.exe is the first UI process that is started and reacts on Ctrl+Alt+Del. Because it is the first process, it sees all key events first. So to hook up before that process you need a kernel-mode driver. No other chance. Take a look at

http://www.sysinternals.com/ctrl2cap.htm

for an example. Unfortunately, the sources are in C and you need the MS DDK to compile them.
Note that you are going very deep into the OS Kernel with that, this is not very suitable if it isn't absolutely necessary.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question