Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Totally hide my application to any service of windows

Posted on 2001-09-07
3
Medium Priority
?
174 Views
Last Modified: 2010-04-06
Hi all. I'm wondering if you can make your program <u>totally</u> invisible for windows task manager. I tryed some stuff once. Well it just hides the windows, but when you press ALT-TAB you still see it.

If someone can help me, please send me some code.
Would be very appreciated

(Using Delphi 6 & Win9x & WinNT/2k)
0
Comment
Question by:TheBluePanther
3 Comments
 
LVL 14

Accepted Solution

by:
DragonSlayer earned 300 total points
ID: 6466096
umm... try this?

RegisterServiceProcess(GetCurrentProcessId(), 1); to remove from task manager

and this:

var
  ExtendedStyle: Integer;
begin
  ExtendedStyle := GetWindowLong (Application.Handle, GWL_EXSTYLE);
  SetWindowLong(Application.Handle, GWL_EXSTYLE,
     ExtendedStyle OR WS_EX_TOOLWINDOW AND NOT WS_EX_APPWINDOW);
end;

to remove from Alt+Tab
0
 
LVL 17

Expert Comment

by:inthe
ID: 6466353
hi,
the above will work great on win9*..

but nt/2000 is no chance ..very difficult
(not impossible but may as well be for them.)
0
 

Author Comment

by:TheBluePanther
ID: 6466377
Thank u very much m8.
It works perfect :)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

772 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