?
Solved

how to hide my application from tasklist? (delphi)

Posted on 1998-11-21
3
Medium Priority
?
815 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Expert Comment

by:scrapdog
ID: 1728154
0
 
LVL 7

Accepted Solution

by:
ahalya earned 200 total points
ID: 1728155

RegisterServiceProcess(0, 1)

will hide your app from the task list.
0
 

Author Comment

by:drol
ID: 1728156
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
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.

770 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