Qt 安装一个Service

QString command = "sc create YourServiceName binPath= \""+application_path+"\" start= auto";
QProcess::startDetached( command );

posted @ 2016-01-25 14:43  酷熊  阅读(391)  评论(0编辑  收藏  举报