用CreateService创建的服务为什么没有描述?怎样添加描述? ( 积分: 200 )

  • 主题发起人 主题发起人 zqw0117
  • 开始时间 开始时间
Z

zqw0117

Unregistered / Unconfirmed
GUEST, unregistred user!
schService=CreateService(schSCManager,&quot;AdvanceLicenceServices&quot;,&quot;ALS&quot;,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SERVICE_ALL_ACCESS,SERVICE_WIN32_OWN_PROCESS,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SERVICE_AUTO_START,SERVICE_ERROR_IGNORE,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;C://Windows//System32//ALS.exe&quot;,NULL,NULL,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NULL,NULL,NULL);<br>上面代码是从C++里面拷贝过来的,创建一个服务的,但是我发现,创建服务后,没有服务描述,找过MSDN,也没说这个函数哪里是写入描述的。请教各位大虾,我改怎么添加服务的同时添加服务描述?
 
schService=CreateService(schSCManager,&quot;AdvanceLicenceServices&quot;,&quot;ALS&quot;,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SERVICE_ALL_ACCESS,SERVICE_WIN32_OWN_PROCESS,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SERVICE_AUTO_START,SERVICE_ERROR_IGNORE,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;C://Windows//System32//ALS.exe&quot;,NULL,NULL,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NULL,NULL,NULL);<br>上面代码是从C++里面拷贝过来的,创建一个服务的,但是我发现,创建服务后,没有服务描述,找过MSDN,也没说这个函数哪里是写入描述的。请教各位大虾,我改怎么添加服务的同时添加服务描述?
 
我自己搞定了,调用ChangeServiceConfig2函数即可!
 
加壳程序好多啊。还可以加上注册码的限制
 
PEID,FSG等等都可以的,我这里有很多个QQ83742159传你
 
使用国人作品ACProtect1.41,这是破解文章,下载在DEFG,文章中有说明。至于ACProtect1.41如何,可以到网上看对壳的强度的相关评论。<br>http://bbs.pediy.com/showthread.php?s=&amp;threadid=10570&amp;perpage=15&amp;highlight=ACPROTECT&amp;pagenumber=1
 
谢谢二位。
 
去看雪论坛下载,里面种类多了去了,可以多些选择
 
后退
顶部