Screenshot of process under Windows Service

后端 未结 4 1578
遥遥无期
遥遥无期 2020-12-11 19:20

We have to run a process from a windows service and get a screenshot from it.

We tried the BitBlt and PrintWindow Win32 calls, but both give blank (black) bitmaps.

4条回答
  •  自闭症患者
    2020-12-11 20:06

    I don't think this is possible.

    We had to change our scenario where our application wasn't started from a service, but was a standard windows program that has a NotifyIcon in the corner.

    If someone still finds a real answer, let me know.

提交回复
热议问题