AlexeiScherbakov / osklib

Library for controlling Windows On Screen Keyboard
MIT License
43 stars 13 forks source link

Not working on Win 1809(Os Build 17763), ComException : Class not registered. #13

Open Kumar07gaurav opened 1 year ago

Kumar07gaurav commented 1 year ago

Retrieving the COM class factory for component with CLSID {228826AF-02E1-4226-A9E0-99A855E455A6} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Exception happens in this part of code

try { using(var shellBroker = ComPtr < IImmersiveShellBroker > .Create(ComTypes.ImmersiveShellBrokerType)) { _inputHostManagerBroker = new ComPtr < IInputHostManagerBroker > (shellBroker.Instance.GetInputHostManagerBroker()); ret = _inputHostManagerBroker != null; } } catch (Exception e) {

}

Kumar07gaurav commented 1 year ago

But working on 1909 (OS 18363)

AlexeiScherbakov commented 1 year ago

behavior differs from version to version for Windows 10. For example TabTip.exe can be started or not. It will be much better if Microsoft gave us standard way to interact with sensor keyboard for Windows 10 & Windows 11. But today we can only call internal COM interfaces without any guarantees

If you are using 1809 in corporate env - in 2023 you must swith to 21H2 (5 years since 1809 release will be at 2023-11-13)