FuPeiJiang / VD.ahk

Windows Virtual Desktop, AutoHotkey, Windows 11 support, Windows Server 2022, switch desktop, move window(wintitle) to current desktop; createDesktop, PinWindow, getCount, getDesktopNumOfWindow -> mute all windows in Virtual Desktop
MIT License
319 stars 45 forks source link

Not working on 24H2 (26100.712) #70

Closed generis-it closed 3 weeks ago

generis-it commented 3 weeks ago

The script throws an exception in the newest build. As this is one of my must-have tools on Windows it would be great if someone could fix this.

Error: An exception was thrown. Specifically: 0xc0000005 ---- D:\Software_Autohotkey\VD.ahk-2_port\VD.ah2 625: Continue 626: } ▶ 627: DllCall(this.FindDesktop, "UPtr", this.IVirtualDesktopManagerInternal.Ptr, "Ptr", GUID_Desktop, "Ptr*", &IVirtualDesktop_ofWindow := 0) 628: If (IVirtualDesktop_ofWindow == IVirtualDesktop) 628: {

FuPeiJiang commented 3 weeks ago

@generis-it does it work with the latest update ?

generis-it commented 3 weeks ago

@FuPeiJiang works! excellent, many thanks for the super fast fix.