Hi all,
I have a different error to one Cat mentioned previously, but it only shows up when I run the app from a startup.bat, and when my watchdog reloads the app it runs perfectly.
The error:
System.ComponentModel.Win32Exception (0x80004005): Access is denied
at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.Kill()
at _FotoBoothApp_.PhoneScreenReading.ScrCpy_KeNmAf778aSNHolbaCVCh1.Dispose_()
at _FotoBoothApp_.PhoneScreenReading.ScrCpy_KeNmAf778aSNHolbaCVCh1.System.IDisposable.Dispose()
at VL.Core.CompilationHelper.SafeDispose(Object obj)
at _FotoBoothApp_.AppTop_AIaNxigtZodNn2fEaMkZmM.Dispose()
at _FotoBoothApp_.AppTop_AIaNxigtZodNn2fEaMkZmM.System.IDisposable.Dispose()
at VL.Core.CompilationHelper.SafeDispose(Object obj)
at _FotoBoothApp_.FotoBoothAppApplication_DwWYnGD1shTMuwVt0Mv7UB.If_1.System.IDisposable.Dispose()
at VL.Core.CompilationHelper.SafeDispose(Object obj)
at _FotoBoothApp_.FotoBoothAppApplication_DwWYnGD1shTMuwVt0Mv7UB.System.IDisposable.Dispose()
at VL.App.AppHost.<RunCore>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.App.WindowsForms.WindowsFormsAppHost.<Application_Idle>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
In the patch, there is a process I try to run called Scrcpy, but if Scrcpy is running, the dispose kills the process on closing, but I’m wondering if the stacktrace is telling me in
at _FotoBoothApp_.PhoneScreenReading.ScrCpy_KeNmAf778aSNHolbaCVCh1.Dispose_()
that the dispose is being called at the moment I launch. It shouldn’t be of course.
I’m currently using Preview 0243
Happy to share more info as needed
H