Solved

How to avoid that a running application is listed.

Posted on 1997-05-11
8
154 Views
Last Modified: 2010-04-06
Hi everybody,

I am about to develop an application which is not mainly based on Forms.

Now , I would like to know wether there is any possibility to avoid that
my application is listed in the 'Close Program' Window (CTRL+ALT+DEL)
when running ?

Any help will be greatly appreciated !

Thank's a lot, bye,  Oli
0
Comment
Question by:novowi
8 Comments
 
LVL 2

Expert Comment

by:alona041797
Comment Utility
No, it is not possible. All windows modules currently loaded are lised in the CTRL-ALT-DEL window.

If your program is a DLL, only the calling program will be listed.
0
 

Author Comment

by:novowi
Comment Utility
Sorry, but there is a possibility. I have a program (Win-Secure-It 2.0) where that works. There must be a system list somewhere, which one can edit. I am not going to grade.

PLEASE, REFER ME TO ANOTHER EXPERT !
0
 

Author Comment

by:novowi
Comment Utility
Sorry, but there is a possibility. I have a program (Win-Secure-It 2.0) where that works. There must be a system list somewhere, which one can edit. I am not going to grade.

PLEASE, REFER ME TO ANOTHER EXPERT !
0
 
LVL 2

Expert Comment

by:alona041797
Comment Utility
I don't know, reject my answer
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:novowi
Comment Utility
I reject this answer !
0
 
LVL 1

Expert Comment

by:sleach
Comment Utility
I believe that WinSecurit is a VXD (Virtual Device Driver), not an application
0
 
LVL 3

Accepted Solution

by:
sperling earned 100 total points
Comment Utility


In Application source:


---
Program ...

uses
  ...


function RegisterServiceProcess (dwProcessID, dwType : DWORD) : DWORD; stdcall; external 'kernel32' name 'RegisterServiceProcess';

begin
  RegisterServiceProcess(0, 1);
  .
  .
end.


This will work on windows 95, but it will prevent your program from running on Windows NT. If you need to be able to run on NT, you should first check what OS the program is running on, and if it is Win 95, you should dynamically load RegisterServiceProcess and execute it. If you need sample source for this, let me know.


Regards,

Erik.
0
 

Expert Comment

by:kangadru
Comment Utility
Below is example code that will hide the App from the Windows Task Manager under both NT and 95.  It will not however hide the Process ID (PID) from the NT Process list (nothing can do that :-)).  I use it for DLL's that contain Forms and it works just fine with apps that you wish to hide from prying eyes, particulalry Notification Tray Applets and Control Panel Applets.Andyprogram Project1;

uses
  Forms, Windows,
  Unit1 in 'Unit1.pas' {Form1};

{$R *.RES}

begin
  Application.Initialize;
  IsLibrary := True;
  ShowWindow(Application.Handle, SW_HIDE);
  Application.CreateForm(TForm1, Form1);
  Application.Run;
end;
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
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…

763 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