Solved

Lock Ctrl+Alt+Del in WinNT 4.0

Posted on 1998-08-26
1
307 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
TcomboBox uninverted item 3 45
System restore point 4 78
calling procedure inside activexForm from secondform 1 208
Printing problem 2 72
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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now