eshsub / productiv Goto Github PK
View Code? Open in Web Editor NEWA windows application which brings the maximize to new virtual desktop feature in MacBooks to Windows laptops.
License: GNU General Public License v3.0
A windows application which brings the maximize to new virtual desktop feature in MacBooks to Windows laptops.
License: GNU General Public License v3.0
Hello, im not very good at english, but i hope you understand what im asking :)
when i open vscode, this error happen, and after that, everything is not working (before that, everything working perfectly)
thanks in advice :)
Details :
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (0x800706BA)
at VirtualDesktop.IVirtualDesktopManagerInternal.GetCurrentDesktop()
at VirtualDesktop.Desktop.get_Current()
at Productiv.VirtualDesktopAdapters.RemoveCurrent() in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\VirtualDesktopAdapters.cs:line 35
at Productiv.EventHandlers.OnMinimze() in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\EventHandlers.cs:line 59
at GlobalHooksTest.Form1._GlobalHooks_CbtMinMax(IntPtr Handle) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\Form1.cs:line 900
at GlobalHooksTest.GlobalHooks.CBTHook.ProcessWindowMessage(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\GlobalHooks.cs:line 267
at GlobalHooksTest.GlobalHooks.ProcessWindowMessage(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\GlobalHooks.cs:line 99
at GlobalHooksTest.Form1.WndProc(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\Form1.cs:line 254
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
System.Private.CoreLib
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Private.CoreLib.dll
----------------------------------------
Productiv
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/EshSub/Productiv/Productiv.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 6.0.2.0
Win32 Version: 6.0.2423.51809
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.24/System.Windows.Forms.dll
----------------------------------------
System.ComponentModel.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.ComponentModel.Primitives.dll
----------------------------------------
System.Runtime
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Runtime.dll
----------------------------------------
System.Windows.Forms.Primitives
Assembly Version: 6.0.2.0
Win32 Version: 6.0.2423.51809
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.24/System.Windows.Forms.Primitives.dll
----------------------------------------
System.Runtime.InteropServices
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Runtime.InteropServices.dll
----------------------------------------
System.Drawing.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Drawing.Primitives.dll
----------------------------------------
System.Collections.Specialized
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Collections.Specialized.dll
----------------------------------------
System.Collections
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Collections.dll
----------------------------------------
Microsoft.Win32.Registry
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/Microsoft.Win32.Registry.dll
----------------------------------------
System.Drawing.Common
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.24/System.Drawing.Common.dll
----------------------------------------
System.Configuration.ConfigurationManager
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.24/System.Configuration.ConfigurationManager.dll
----------------------------------------
System.Diagnostics.TraceSource
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Diagnostics.TraceSource.dll
----------------------------------------
Microsoft.Win32.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/Microsoft.Win32.Primitives.dll
----------------------------------------
System.Threading
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Threading.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
System.Threading.Thread
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Threading.Thread.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 6.0.2423.51809
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.24/Accessibility.dll
----------------------------------------
System.ComponentModel.TypeConverter
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.ComponentModel
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.ComponentModel.dll
----------------------------------------
System.Numerics.Vectors
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Numerics.Vectors.dll
----------------------------------------
System.Resources.Extensions
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.24/System.Resources.Extensions.dll
----------------------------------------
System.Memory
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Memory.dll
----------------------------------------
System.Drawing
Assembly Version: 6.0.2.0
Win32 Version: 6.0.2423.51809
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.24/System.Drawing.dll
----------------------------------------
System.ObjectModel
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.ObjectModel.dll
----------------------------------------
System.Linq
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Linq.dll
----------------------------------------
Microsoft.Win32.SystemEvents
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.24/Microsoft.Win32.SystemEvents.dll
----------------------------------------
System.Console
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Console.dll
----------------------------------------
System.Text.Encoding.Extensions
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Text.Encoding.Extensions.dll
----------------------------------------
System.Diagnostics.FileVersionInfo
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Diagnostics.FileVersionInfo.dll
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Runtime.InteropServices.RuntimeInformation.dll
----------------------------------------
System.Private.Uri
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Private.Uri.dll
----------------------------------------
System.Xml.ReaderWriter
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Private.Xml.dll
----------------------------------------
System.Net.WebClient
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Net.WebClient.dll
----------------------------------------
System.Collections.NonGeneric
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Collections.NonGeneric.dll
----------------------------------------
VirtualDesktop
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/EshSub/Productiv/VirtualDesktop.dll
----------------------------------------
System.Diagnostics.Process
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Diagnostics.Process.dll
----------------------------------------
System.Runtime.CompilerServices.Unsafe
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Runtime.CompilerServices.Unsafe.dll
----------------------------------------
System.Runtime.Loader
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Runtime.Loader.dll
----------------------------------------
System.Diagnostics.StackTrace
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Collections.Immutable.dll
----------------------------------------
System.Collections.Concurrent
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2423.51814
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.24/System.Collections.Concurrent.dll
----------------------------------------
************** JIT Debugging **************
Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.
************** Texte de l'exception **************
System.TypeInitializationException: The type initializer for 'VirtualDesktop.DesktopManager' threw an exception.
---> System.InvalidCastException: Specified cast is not valid.
at VirtualDesktop.IServiceProvider10.QueryService(Guid& service, Guid& riid)
at VirtualDesktop.DesktopManager..cctor() in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\VirtualDesktop.cs:line 262
--- End of inner exception stack trace ---
at VirtualDesktop.Desktop.get_Current() in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\VirtualDesktop.cs:line 385
at Productiv.VirtualDesktopAdapters.RemoveCurrent() in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\VirtualDesktopAdapters.cs:line 38
at Productiv.EventHandlers.OnMinimze() in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\EventHandlers.cs:line 63
at GlobalHooksTest.Form1._GlobalHooks_CbtMinMax(IntPtr Handle) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\Form1.cs:line 951
at GlobalHooksTest.GlobalHooks.CBTHook.ProcessWindowMessage(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\GlobalHooks.cs:line 267
at GlobalHooksTest.GlobalHooks.ProcessWindowMessage(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\GlobalHooks.cs:line 99
at GlobalHooksTest.Form1.WndProc(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\Form1.cs:line 259
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
************** Assemblys chargés **************
System.Private.CoreLib
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Private.CoreLib.dll
----------------------------------------
Productiv
Version de l'assembly : 0.0.0.0
Version Win32 : 0.0.0.0
CodeBase : file:///C:/Program%20Files%20(x86)/EshSub/Productiv/Productiv.dll
----------------------------------------
System.Windows.Forms
Version de l'assembly : 6.0.2.0
Version Win32 : 6.0.1823.27201
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.18/System.Windows.Forms.dll
----------------------------------------
System.ComponentModel.Primitives
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.ComponentModel.Primitives.dll
----------------------------------------
System.Runtime
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Runtime.dll
----------------------------------------
System.Windows.Forms.Primitives
Version de l'assembly : 6.0.2.0
Version Win32 : 6.0.1823.27201
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.18/System.Windows.Forms.Primitives.dll
----------------------------------------
System.Runtime.InteropServices
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Runtime.InteropServices.dll
----------------------------------------
System.Drawing.Primitives
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Drawing.Primitives.dll
----------------------------------------
System.Collections.Specialized
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Collections.Specialized.dll
----------------------------------------
System.Collections
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Collections.dll
----------------------------------------
Microsoft.Win32.Registry
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/Microsoft.Win32.Registry.dll
----------------------------------------
System.Drawing.Common
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.1823.26907
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.18/System.Drawing.Common.dll
----------------------------------------
System.Configuration.ConfigurationManager
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.1823.26907
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.18/System.Configuration.ConfigurationManager.dll
----------------------------------------
System.Diagnostics.TraceSource
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Diagnostics.TraceSource.dll
----------------------------------------
Microsoft.Win32.Primitives
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/Microsoft.Win32.Primitives.dll
----------------------------------------
System.Threading
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Threading.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
System.Threading.Thread
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Threading.Thread.dll
----------------------------------------
Accessibility
Version de l'assembly : 4.0.0.0
Version Win32 : 6.0.1823.27201
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.18/Accessibility.dll
----------------------------------------
System.ComponentModel.TypeConverter
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.ComponentModel
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.ComponentModel.dll
----------------------------------------
System.Numerics.Vectors
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Numerics.Vectors.dll
----------------------------------------
System.Resources.Extensions
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.1823.26907
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.18/System.Resources.Extensions.dll
----------------------------------------
System.Memory
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Memory.dll
----------------------------------------
System.Drawing
Version de l'assembly : 6.0.2.0
Version Win32 : 6.0.1823.27201
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.18/System.Drawing.dll
----------------------------------------
System.ObjectModel
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.ObjectModel.dll
----------------------------------------
System.Linq
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Linq.dll
----------------------------------------
Microsoft.Win32.SystemEvents
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.1823.26907
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.18/Microsoft.Win32.SystemEvents.dll
----------------------------------------
System.Console
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Console.dll
----------------------------------------
System.Text.Encoding.Extensions
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Text.Encoding.Extensions.dll
----------------------------------------
System.Diagnostics.FileVersionInfo
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Diagnostics.FileVersionInfo.dll
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Runtime.InteropServices.RuntimeInformation.dll
----------------------------------------
System.Private.Uri
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Private.Uri.dll
----------------------------------------
System.Xml.ReaderWriter
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Private.Xml.dll
----------------------------------------
System.Net.WebClient
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Net.WebClient.dll
----------------------------------------
System.Collections.NonGeneric
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Collections.NonGeneric.dll
----------------------------------------
System.Runtime.Loader
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Runtime.Loader.dll
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly : 6.0.2.0
Version Win32 : 6.0.1823.27201
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.18/fr/System.Windows.Forms.resources.dll
----------------------------------------
System.Diagnostics.StackTrace
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Collections.Immutable.dll
----------------------------------------
System.Runtime.CompilerServices.Unsafe
Version de l'assembly : 6.0.0.0
Version Win32 : 6.0.2023.32017
CodeBase : file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.20/System.Runtime.CompilerServices.Unsafe.dll
----------------------------------------
************** Débogage JIT **************
This is the full error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for 'VirtualDesktop.DesktopManager' threw an exception.
---> System.InvalidCastException: Specified cast is not valid.
at VirtualDesktop.IServiceProvider10.QueryService(Guid& service, Guid& riid)
at VirtualDesktop.DesktopManager..cctor() in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\VirtualDesktop.cs:line 262
--- End of inner exception stack trace ---
at VirtualDesktop.Desktop.get_Current() in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\VirtualDesktop.cs:line 385
at Productiv.VirtualDesktopAdapters.IsCurrentDesktopUnamed() in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\VirtualDesktopAdapters.cs:line 54
at Productiv.EventHandlers.OnCreateMinimized(IntPtr Handle) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\EventHandlers.cs:line 94
at GlobalHooksTest.Form1._GlobalHooks_ShellWindowCreated(IntPtr Handle) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\Form1.cs:line 978
at GlobalHooksTest.GlobalHooks.ShellHook.ProcessWindowMessage(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\GlobalHooks.cs:line 376
at GlobalHooksTest.GlobalHooks.ProcessWindowMessage(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\GlobalHooks.cs:line 100
at GlobalHooksTest.Form1.WndProc(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\Form1.cs:line 259
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
I have windows 11 23h2
Hi there, I love idea of your app, especially i got mac for work and just build myslefw windows PC for gaming.
Anyway, I got win11, first I tried version 1.0.2win10 it didn't work... Next I have read Issues section and instaled v1.0.1-alpha.
I tried diffrent .NET versions because I didn't know witch one is needed. Finaly it lunches but I got this error when anything appering on screen.
this error appers on both versions (I didn't have installed them on same time)
I got whis .net versions installed to lunch
This is full error information:
Szczegółowe informacje na temat wywoływania debugowania w trybie JIT (just in time)
zamiast tego okna dialogowego znajdują się na końcu tego komunikatu.
************** Tekst wyjątku **************
System.TypeInitializationException: The type initializer for 'VirtualDesktop.DesktopManager' threw an exception.
---> System.InvalidCastException: Specified cast is not valid.
at VirtualDesktop.IServiceProvider10.QueryService(Guid& service, Guid& riid)
at VirtualDesktop.DesktopManager..cctor()
--- End of inner exception stack trace ---
at VirtualDesktop.Desktop.get_Current()
at Productiv.VirtualDesktopAdapters.IsCurrentDesktopUnamed() in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\VirtualDesktopAdapters.cs:line 51
at Productiv.EventHandlers.OnCreateMinimized(IntPtr Handle) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\EventHandlers.cs:line 90
at GlobalHooksTest.Form1._GlobalHooks_ShellWindowCreated(IntPtr Handle) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\Form1.cs:line 921
at GlobalHooksTest.GlobalHooks.ShellHook.ProcessWindowMessage(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\GlobalHooks.cs:line 376
at GlobalHooksTest.GlobalHooks.ProcessWindowMessage(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\GlobalHooks.cs:line 100
at GlobalHooksTest.Form1.WndProc(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\Form1.cs:line 254
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
************** Debugowanie w trybie JIT **************
Currently when an error occurs, a default windows error dialog is shown. and user has to click continue to proceed. Need to handle those errors, system wide and continue without user interaction.
Currently we use a windows forms application as the GUI for changing settings etc. Need to implement it in WinUI to make it visually appealing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.