H hlwbn Unregistered / Unconfirmed GUEST, unregistred user! 2007-03-27 #1 在应用程序中控制服务的启动 停止就像SQL服务控制一样,各位最好给点源码 谢了!
M maze Unregistered / Unconfirmed GUEST, unregistred user! 2007-03-27 #2 参考delphi的scktsvr的代码好了,在delphi的 /source/vcl目录下
C creation-zy Unregistered / Unconfirmed GUEST, unregistred user! 2007-03-27 #3 模拟命令行最省事: ShellExecute(0,'Open','command.com /c net start W3SVC',nil,nil,SW_HIDE) //启动WWW服务 ShellExecute(0,'Open','command.com /c net stop W3SVC',nil,nil,SW_HIDE) //停止WWW服务
模拟命令行最省事: ShellExecute(0,'Open','command.com /c net start W3SVC',nil,nil,SW_HIDE) //启动WWW服务 ShellExecute(0,'Open','command.com /c net stop W3SVC',nil,nil,SW_HIDE) //停止WWW服务