如果是delphi写的话,好象在命令行加一个 -install的参数就可以了。

解决方案 »

  1.   

    我还不会用CreateService,RigisterServiceCtrlHandler呢
      

  2.   

    Winexec( 'ServiceName -Install' );
      

  3.   

    这个以ServiceName命名的程序,没有什么特别的格式吗?我将记事本设为服务程序行不行?Winexec( 'notepad.exe -Install' );
      

  4.   

    告诉我怎么样实现相应的接口,please
      

  5.   

    是application service的话
    进入dos
    载提示符下输入:应用程序名 -install
    李维著
      

  6.   

    是application service怎么编啊