What error are you getting? Is mstsc being run as x86 or x64? Did you confirm that the x86/x64 COM object is registered based upon the version that mstsc is trying to use? Note that if your COM object supports both bitness then you need to register it for both bitness as well.
COM Object on Windows 11
Hi to all,
I have x64 and Win32 COM objects registered on Surface (ARM) with Windows 11. DllSurrogate and AppId are also configured in registry.
Application (mstsc.exe) does not load those COM objects on Windows 11.
Note that same configuration works on same/multiple Surface (ARM) with Windows 10.
Any ideas what I am missing here?
Windows development Windows API - Win32
2 answers
Sort by: Most helpful
-
-
Xiaopo Yang - MSFT 12,731 Reputation points Microsoft External Staff
2021-11-09T03:25:14.663+00:00 According to COM Registry Keys, have you configured in CLSID(HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{CLSID}) which has a AppID value and a InprocServer subkey and AppID(HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID{AppID_GUID}) which has a DllSurrogate value for your COM application?
Does the surrogate process have the same bit as your COM application?