eksime / VDesk

Launch programs on new virtual desktops.
GNU General Public License v3.0
641 stars 57 forks source link

vdesk crashes in Windows 10 x64 Enterprise #16

Closed praseodeveloper closed 8 years ago

praseodeveloper commented 8 years ago

The latest VDesk sources were pulled and a release build generated with .net 4.6 target version. Upon executing vdesk run notepad the application crashes.

Upon debugging, a XamlParseException is encountered. Inner exception is

{"Unable to cast COM object of type 'System.__ComObject' to interface type 'WindowsDesktop.Interop.IApplicationView'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{9AC0B5C8-1484-4C5B-9533-4134A0F97CEA}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."}

Please help. xamlparseexception vdesk crashes

Tried running command prompt as Administrator also. This did not fix the problem.

praseodeveloper commented 8 years ago

The issue has been identified. The Interface ID for IApplicationView in Virtual Desktop project was {9AC0B5C8-1484-4C5B-9533-4134A0F97CEA}

And the interface ID for Windows 10 Version 1511 was different. (Found this out from regedit by searching for IApplicationView). Downloaded the sources for Virtual Desktop and changed the IID there and built the .dll again. Used that as reference for VDesk and it started working. :)