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
Solved

how to hide my application from tasklist? (delphi)

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

838 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