ryancheung / ImeSharp

C# wrapper for Windows IME APIs
MIT License
71 stars 12 forks source link

[DO NOT MERGE] tried using ActivateEx with ComReleaser from https://github.com/NyaRuRu/TSF-SearchCandidateProvider/blob/1dfa44e18915b9914f4c6d5f9f7f8d606a35dcc5/TSF.SearchCandidateProvider/src/ComReleaser.cs #5

Closed SradnickDev closed 4 years ago

ryancheung commented 4 years ago

We could use https://github.com/svn2github/QTTabBar/blob/master/QTTabBar/Interop/PInvoke.cs#L43, but Activator.CreateInstance is also an option.

ryancheung commented 4 years ago

Not sure if the created com object can be converted to managed com interface ITfThreadMgr or ITfThreadMgr2.

SradnickDev commented 4 years ago

Gonna try that, have to figure out how to use this properly.