远程控制篇:服务端程序的隐藏
1 按ctrl+alt+del时不出现在关闭程序框 function RegisterServiceProcess (dwProcessID, dwType: DWord) : DWord; stdcall; external 'KERNEL32.DLL'; 不出现 RegisterServiceProcess(GetCurrentProcessID, RSPSIMPLESERVICE); 出现 RegisterServiceProcess(GetCurrentProcessID, RSPUNREGISTERSERVICE);
2 程序的图标不出现在任务栏 在Application.Initialize;后加上 Application.ShowMainForm:=False;
以上做法在WIN2000下是无效的。 编程软件如VC,DELPHI中都带有进程查看工具。
-------------------------------------------- 湖北襄樊 官本和([email protected]) 2001.4 详见主页源程序: http://delphi21cn.yeah.net http://personal.hb.cninfo.net/~gbh 
|