Closed hAbd0u closed 2 years ago
Hello!
To record, you need to launch some form of application that does it on the desktop, you cannot record from a service. This is because Microsoft have made it impossible to access the desktop or graphics output from a service, for security reasons.
Hello, That makes sense now, do you any suggestion to my problem here?
I think what people often do is to leverage the task scheduler when having for example an update service that needs to interact with the desktop. I have not tested this myself but this project may help to launch e.g. a console application from the service onto the desktop.
Hi there, The library is crashing while using it in windows service application, my current testing environment: Windows 8.1 64BIT - VMware player guest. VS 2022 - .NET framework 6.0. This is the error I am getting from windows events:
My windows service code: