Closed EmbeddedInc closed 2 months ago
Hi!
Does this happen when trying to record all windows, or only some? The error is not about rights to create files, but it can't access the window to record.
Hi There - Appreciate you getting back to me.
It looks like it is for all windows. I added the two lines as indicated below and got additional errors in the log.
var sources = new List<RecordingSourceBase>();
//Added these two lines
var allRecordableWindows = Recorder.GetWindows();
sources.Add(allRecordableWindows.FirstOrDefault());
IntPtr windowHandle = new WindowInteropHelper(Application.Current.MainWindow).Handle;
sources.Add(new WindowRecordingSource(windowHandle));
Yeah, it should be able to record the window of its own application at the very least, without requiring elevation. I'm a bit stumped here. I've never had an issue where it fails to record without elevation before. I'm finding some info online that it could be related to antivirus misbehaving, if that fits the bill.
We don't have any anti-virus running, It is a very isolated PC, not even connected to the internet and running in kiosk mode. IF you can think of any tests I can run - I can try that tomorrow. Thanks for providing support.
We have an application that records properly in an Admin account, but will not record in a user account. For other file writes, we can write to the same location from the app.
The log looks like: