Update: per comments, I believe that tabtip.exe is the COM server for the COM component in question, so if your code gets REGDB_E_CLASSNOTREG, it should probably run tabtip.exe and try again. Marshal.ReleaseComObject(uiHostNoLaunch) TipInvocation.Toggle(GetDesktopWindow()) Var tipInvocation = (ITipInvocation)uiHostNoLaunch Var uiHostNoLaunch = new UIHostNoLaunch() Here's the C# version as well: class Program Hr = CoCreateInstance(CLSID_UIHostNoLaunch, 0, CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER, IID_ITipInvocation, (void**)
0 Comments
Leave a Reply. |