1. 我用向導創建了一個Service Application
想實作在控制面板啟動service后,service可以自動啟動一個應用程式。(比如IE什么的)
我需要在哪里添加啟動代碼?
我在 void __fastcall TService1::ServiceStart(TService *Sender, bool &Started)
{
用CreateProcess(...);不能成功啟動service,也沒有啟IE。
Started = true;
}
return ErrorCode 1053:服務沒有及時回應啟動或控制請求
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/131789.html
標籤:基礎類
下一篇:C++中的坐標
