你需要将其替换为你要操作的现实功绩的称呼
2024-06-26要在 Delphi 中操作 Windows 功绩,不错使用 TServiceManager 组件。以下是一个示例,展示如何开启、关闭、重启和查询 Windows 功绩: uses System.SysUtils, System.Classes, Winapi.Windows, Winapi.Messages, Vcl.SvcMgr; procedure StartService(const AServiceName: string); var ServiceManager: TService