Monitor when an exe is launched

前端 未结 5 1726
一生所求
一生所求 2020-12-04 15:43

I have some services that an application needs running in order for some of the app\'s features to work. I would like to enable the option to only start the external Window

5条回答
  •  鱼传尺愫
    2020-12-04 16:27

    Monitor if the process is running - one service must be running to do this though.

    If you really don't want to consume any ressources - write a simple service in plain C. Service application written without MFC/ATL can consume as low as 300-400 kb memory and virutally no CPU cycles. When the process you are interested in starts you can spawn your C# services.

提交回复
热议问题