Solved

how to hide my application from tasklist? (delphi)

Posted on 1998-11-21
3
804 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 100 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

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.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

695 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