Home > Back-end >  10 how Delphi programming hide another process
10 how Delphi programming hide another process

Time:09-25

Windows 7 x64 10 + Delphi environment, how to program to implement the will be another process hidden from the task manager , does not require the security software does not like ice blade, according to require only the simplest can be hidden from the task manager, don't be evil, this program only need to hide I specify another process can, for example, I write A program a.e xe, is another process such as: b.e xe, not my program, is others write procedures, can be A resident in memory, when detected process in the specified b.e xe process name after the b.e xe hidden away from the task manager process list does not display, please directly,

CodePudding user response:

Ask a moment, I in this BBS how to search the Delphi section entry I need?

CodePudding user response:

1, open the XE7;
(2, 1 new project or opened 1 engineering)
3, in the IED's upper right "project manager" dialog box, the default code compiled Win32,

4, the right mouse button to select "Target Platforms (Win32)"

5, open "" dialog

CodePudding user response:


6, select the "64 - bit Windows," the mouse to click the "OK" key, "project manager" appear "Target Platforms (Win32)", compile increase 64 set

7, the mouse to click the "Target Platforms (Win32)", open the 32-bit and 64 - bit after the second column "Target Platforms"

CodePudding user response:

Sorry, the above statement is not clear, the restated:

1, open the XE7;
2, create a new project (or open a project)
3, in the IED's upper right "project manager" dialog, by is the default compiled Win32 code, see the wind below

4, the right mouse button to select "Target Platforms (Win32)", click "Add Platform
"
5, open the "select Platfoem" dialog

6, select the "64 - bit Windows," the mouse to click the "OK" key, "project manager" appear "Target Platforms (Win32)", compile increase 64 set

7, the mouse to click the "Target Platforms (Win32)", open the 32-bit and 64 - bit after the second column "Target Platforms"


Note: school official cites use the mouse to click on the select respectively 32 - bit Windows or 64 - bit Windows
Target Platforms respectively according to
Target Platforms (win32)
Target Platforms (win64)
Said IDE default compilation approach, is to compile in brackets are 32, or 64 - bit, perform the Run is complete compilation,



CodePudding user response:

Post sent you a wrong,

CodePudding user response:

Sorry to send the wrong party, please administrator to delete the above four pieces,

CodePudding user response:

 procedure TForm1. Button2Click (Sender: TObject); 
Var
H: THandle;
The begin
H:=FindWindow (' TApplication ', 'My application');//parameter 1: object name, parameter 2: Application name
If h & lt;> 0 then
ShowWindow (h, SW_HIDE);
end;


Note: the Application of another program Settings
 procedure TMyFrm. FormCreate (Sender: TObject); 
The begin
Application. The Title:='My Application';
end;

If you need hidden program, not your development, through the "task manager" check the full name, otherwise, can not find, can't to hide,

CodePudding user response:

Thank you upstairs the zeal of the friend, but you said is not what I need, how to do something, I not ask DELPHI interface I am need to another is not own the process of development from the Windows 7 task manager taskmgr. Hidden in the exe

CodePudding user response:

Baidu search Delphi hidden process a lot of source code

CodePudding user response:

The
reference 7 floor lyhoo163 response:
 procedure TForm1. Button2Click (Sender: TObject); 
Var
H: THandle;
The begin
H:=FindWindow (' TApplication ', 'My application');//parameter 1: object name, parameter 2: Application name
If h & lt;> 0 then
ShowWindow (h, SW_HIDE);
end;


Note: the Application of another program Settings
 procedure TMyFrm. FormCreate (Sender: TObject); 
The begin
Application. The Title:='My Application';
end;

If you need hidden program, not your development, through the "task manager" check the full name, otherwise, can not find, can't to hide,

Hidden third-party EXE, open the EXE, view the characters shown in the "task manager", such as "display program
"
 procedure TForm1. Button2Click (Sender: TObject); 
Var
H: THandle;
The begin
H:=FindWindow (' TApplication ', 'display program);//parameter 1: object name, parameter 2: Application name
If h & lt;> 0 then
ShowWindow (h, SW_HIDE);
end;


Can,
  • Related