Solved

How to avoid that a running application is listed.

Posted on 1997-05-11
8
155 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
ID: 1336102
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
ID: 1336103
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
ID: 1336104
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
ID: 1336105
I don't know, reject my answer
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:novowi
ID: 1336106
I reject this answer !
0
 
LVL 1

Expert Comment

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

Accepted Solution

by:
sperling earned 100 total points
ID: 1336108


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
ID: 1336109
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

930 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

8 Experts available now in Live!

Get 1:1 Help Now