I have a wind开发者_C百科ows service.
I can install it through cmd with "c:\serviceName -install"
when I do createProcess and pass command line -install it does not appear in the Service Control manager. The createProcess returns non-zero value
"GetExitCodeProcess" gives 0.
Following is a line from the code:
CreateProcess(Process,pCmdLine,NULL,NULL,FALSE,DETACHED_PROCESS,NULL,NULL,&stStartupInfo,pProcessInfo);
Variable name are fairly self-explained.
Please comment.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论