You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created an implementation IDispatch to be used with AddHostObjectToScript, i am able to fetch an instance using CComCoClass::CreateInstance without issues, and i can verfiy in C++ that the object is valid and i can invoke its methods. When i add it using AddHostObjectToScript everything appears to be ok (no errors) and the root object i.e. chrome.webview.hostObjects.sync.test is available but when i try to call any of the methods of the dispatch i get
Error: Library not registered. (0x8002801D)
I tried both sync and async conventions but both show the exact issue. This same code worked for me a year or so back and this issue has only recently started. Could someone please suggest what could be wrong? Sadly i see no other indication of error and could find no documentation on the matter.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all
I created an implementation IDispatch to be used with AddHostObjectToScript, i am able to fetch an instance using CComCoClass::CreateInstance without issues, and i can verfiy in C++ that the object is valid and i can invoke its methods. When i add it using AddHostObjectToScript everything appears to be ok (no errors) and the root object i.e. chrome.webview.hostObjects.sync.test is available but when i try to call any of the methods of the dispatch i get
Error: Library not registered. (0x8002801D)
I tried both sync and async conventions but both show the exact issue. This same code worked for me a year or so back and this issue has only recently started. Could someone please suggest what could be wrong? Sadly i see no other indication of error and could find no documentation on the matter.
Thanks,
Omer
Beta Was this translation helpful? Give feedback.
All reactions