|
-
Feb 8th, 2000, 06:04 AM
#1
Ok, I already know how to hide my program from Ctrl-Alt-Delete. Now I need to either 1. Hide My Program from running processes or 2. Disallow Termination of my Application. My app is a security application so I can't let the user trying to wreck the machine to kill my app. For demonstration purposes of this problem get TaskInfo2000 program and then create a small exe. Run both programs and terminate the process with TaskInfo2000. Now, try and prevent it from happening. Please help me with this! I've been everywhere and no one really has any answers. Thanks!
-
Feb 10th, 2000, 01:37 AM
#2
-
Feb 10th, 2000, 08:27 PM
#3
New Member
Originally posted by Chris:
Try to hide your application from the service list as below:
Dim pid As Long
Dim reserv As Long
pid = GetCurrentProcessId()
reserv = RegisterServiceProcess(pid, RSP_SIMPLE_SERVICE)
and declare the following API function:
Public Declare Function GetCurrentProcessId Lib "kernel32" () As Long
Public Declare Function GetCurrentProcess Lib "kernel32" () As Long
Public Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Public Const RSP_SIMPLE_SERVICE = 1
Public Const RSP_UNREGISTER_SERVICE = 0
____________________
Chris.C 
Software Engineer
[email protected]
This tip down't work at all on win2k
There is no RegisterServiceProcess function in kernel32.dll
Costin
[email protected]
[This message has been edited by rcostin (edited 02-11-2000).]
-
Feb 10th, 2000, 09:38 PM
#4
Thanks to everyone for their feedback. If anyone knows how to hide running processes in Win2K please post here. Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|