function StopServies(sServiceName: String): boolean; // 停止某个服务;
var
schService: SC_HANDLE;
schSCManager: SC_HANDLE;
ssStatus: TServiceStatus;
begin
schSCManager := OpenSCManager(nil, nil, SC_M...
分类:
其他好文 时间:
2014-07-29 12:51:26
阅读次数:
153
1 /* 2 * 运行可执行文件:.exe 3 * 当要执行一个本地机器上的可执行文件时, 4 * 可以使用java.lang包中的Runtime类,首先使用Runtime类,首先 5 * 使用Runtime类声明一个对象 6 *{ 7 * Runtime sc =Runtime...
分类:
编程语言 时间:
2014-07-29 12:01:26
阅读次数:
339
BBS论坛的搭建准备工作:Linux,Discuz_X2_SC_UTF8.zip(提供下载),SecureCRT(可用可不用)行动开始:将redhat上含有Package的disc挂载到/mnt下mount/dev/sr0/mnt强制删除本身带有的rhel-source.reporm-rf/etc/...
分类:
其他好文 时间:
2014-07-27 21:34:55
阅读次数:
278
1、打印直角三角形import java.util.Scanner;public class AgeDemo {public static void main(String[] args){//打印一个倒立的直角三角形如下://****//***//**//*Scanner sc = new Sca...
分类:
编程语言 时间:
2014-07-26 14:09:55
阅读次数:
185
1,查看一下有没有装过无线网卡驱动[root@localhost network-scripts]# iwconfiglo no wireless extensions.eth0 no wireless extensions.2,查看无线网卡型号[root@localhost network-sc....
分类:
其他好文 时间:
2014-07-26 01:48:36
阅读次数:
209
创建>sc create TestService binPath= "D:\EngineService\TestService.exe" start= auto[SC] CreateService 成功>net startTestService注意:binPath= 后面有一个空格删除>sc del...
分类:
其他好文 时间:
2014-07-25 16:38:51
阅读次数:
192
开始变量竟然输反了#include
#include
int dp[1002];
struct none
{
int vo;
int value;
}a[1002];
int max(int a,int b)
{return a>b?a:b;}
int main()
{
int N,V,T,i,j;
scanf("%d",&T);
while(T--)
{
sc...
分类:
其他好文 时间:
2014-07-25 11:28:01
阅读次数:
203
1..检查版本2.版本升级console#upgradesystemftp:A:Addressornameofremotehost[]:192.168.1.10Sourcefilename[]:FTOS-SC-8.3.3.9.binUsernametologinremotehost:dellPasswordtologinremotehost:01:59:11:%STKUNIT0-M:CP%FTP-3-FTP_ERROR:Filenotfound%Error:Failedtoaccessther..
分类:
其他好文 时间:
2014-07-24 18:02:46
阅读次数:
298
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><sc..
分类:
Web程序 时间:
2014-07-23 00:24:58
阅读次数:
234
#include
void fun(long s,long *t)
{
int d;
long s1=1;
*t=0;
while(s>0)
{
d=s%10;
if(d%2!=0)
{*t=d*s1+*t;
s1*=10;
}
s/=10;
}
}
void main()
{
long s,t;
printf("\nPlease enter:");
sc...
分类:
其他好文 时间:
2014-07-22 22:34:12
阅读次数:
201