如何使程序在任务管理器中隐藏!!!
在网上找到了这样的一段代码Private Declare Function GetCurrentProcessid Lib "kernel32" () As Long
Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long)
Const RSP_SIMPLE_SERVICE = 1
Const RSP_UNREGISTER_SERVICE = 0
Public Sub MakeMeService()
Dim pid As Long
Dim resery As Long
pid = GetCurrentProcessid()
regserv = RegisterServiceProcess(pid, RSP_SIMPLE_SERVICE)
End Sub
但一运行就弹出对话 框说 " 实时错误 '453' 找不到DLL入口点GetCurrenProcessid in kernel32"
这是什么问题 怎么解决???