-
1. How would you go about making a VB application run as a process in NT? I don't want anyone to see it when they Cnt-Alt-Del
2. How do you set the priority in NT? I need to set my program to realtime so it will be sure to run no matter what else is running.
The Security of an entire nation is at stake!
Not really. More like a small office.
Please HELP!
-
To make it run as process just make it an ActiveEXE (always slower then DLLs or Services). That and there is a program (can't remember the name) that converts EXEs into Services...it's on the SDK
Now for process priorities just call this API
Public Declare Function SetPriorityClass Lib "kernel32" (ByVal hProcess As Long, ByVal dwPriorityClass As Long) As Long
The hProcess is the value of
Public Declare Function GetCurrentProcess Lib "kernel32" () As Long
Hope this Helps,