Solved

Totally hide my application to any service of windows

Posted on 2001-09-07
3
169 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
[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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

623 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