Solved

Totally hide my application to any service of windows

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best Firemonkey component pack 1 101
Simple Delphi Question 9 89
Tviruailstringtree sort multi columns on header click 1 61
update joined tables 2 44
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

813 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

11 Experts available now in Live!

Get 1:1 Help Now