WinDynamicDesktop
WinDynamicDesktop copied to clipboard
Can not open WDD occasionally.
- WDD Version: 5.1.0
- OS Version: Windows 11 22H2 build 22621.521
When I try to open the WDD, an error message appears, and the app closes automatically. I must open it again and it can work normally. The detail of this error is as follow:
[2022-09-22 06:56:38.108] System.DllNotFoundException: Dll was not found. at MS.Internal.WindowsBase.NativeMethodsSetLastError.SetWindowLongWndProc(HandleRef hWnd, Int32 nIndex, WndProc dwNewLong) at MS.Win32.UnsafeNativeMethods.CriticalSetWindowLong(HandleRef hWnd, Int32 nIndex, WndProc dwNewLong) at MS.Win32.HwndSubclass.HookWindowProc(IntPtr hwnd, WndProc newWndProc, IntPtr oldWndProc) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
[2022-09-23 08:03:51.033] System.DllNotFoundException: Dll was not found. at MS.Internal.WindowsBase.NativeMethodsSetLastError.SetWindowLongWndProc(HandleRef hWnd, Int32 nIndex, WndProc dwNewLong) at MS.Win32.UnsafeNativeMethods.CriticalSetWindowLong(HandleRef hWnd, Int32 nIndex, WndProc dwNewLong) at MS.Win32.HwndSubclass.HookWindowProc(IntPtr hwnd, WndProc newWndProc, IntPtr oldWndProc) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
It is worth noting that I didn't see this error before I updated the Windows 11 22H2, and this error happened on my two PC after I updated both of them.
Are you using the Microsoft Store version of WDD?: Yes
[2023-02-19 02:11:35.698] System.NullReferenceException: Object reference not set to an instance of an object.
at WinDynamicDesktop.ConfigMigrator.UpdateToVersion4()
at WinDynamicDesktop.ConfigMigrator.Run()
at WinDynamicDesktop.JsonConfig.LoadConfig()
at WinDynamicDesktop.AppContext..ctor(String[] args)
at WinDynamicDesktop.Program.Main(String[] args)
As is mentioned in #509 it seems to be a random problem. See, everyone's got different error outputs. I guess it may be a bug of Windows 11 or something like that. #504 and #486 are about the same problem and I think these three issues may merge into one.
@leostudiooo What version of WinDD do you have installed? I believe the ConfigMigrator
error was fixed in v5.2.1.
Having the issue on 5.2.1. (Latest release 5 days ago)
I don't really know what is all this about. Tried reinstalling the latest release and even building from source but the same error just repeated.
@leostudiooo i had same issue. Try delete settings.json file at wdd folder. For me it worked.
@Skywings96 Does this issue still happen with the latest version of WinDD (5.3.1)?