Solved

Totally hide my application to any service of windows

Posted on 2001-09-07
3
162 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 75 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

12 Experts available now in Live!

Get 1:1 Help Now