Solved

how to hide my application from tasklist? (delphi)

Posted on 1998-11-21
3
720 Views
Last Modified: 2013-12-29
Hi!
I tried to hide my application with following code:

var i:longint;
    handle:longint;
begin
i:=GetCurrentProcessId;
handle:=OpenProcess(PROCESS_ALL_ACCESS,true,i);
RegisterServiceProcess(handle,1);
end;

It do not work. Any idea?
0
Comment
Question by:drol
3 Comments
 
LVL 5

Expert Comment

by:scrapdog
Comment Utility
0
 
LVL 7

Accepted Solution

by:
ahalya earned 100 total points
Comment Utility

RegisterServiceProcess(0, 1)

will hide your app from the task list.
0
 

Author Comment

by:drol
Comment Utility
ahalya, i tried the command you told me, but it does not work in windows 95 and 98.
Did you tryed it?
0

Featured Post

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

A few months ago I had an issue with LaserJet 1020 printer which was installed to XP and Windows 7.  It was installed to XP and working, but when I tried to connect from a Windows 7 PC, it would attempt connection and then fail.  Sometimes the Spool…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

744 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

8 Experts available now in Live!

Get 1:1 Help Now