Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSF COM in-proc server #6

Open
emceelovin opened this issue Oct 5, 2022 · 0 comments
Open

TSF COM in-proc server #6

emceelovin opened this issue Oct 5, 2022 · 0 comments

Comments

@emceelovin
Copy link

First of all, thank you so much for this repository. I just have a few questions and could use some help. I'm writing a TSF text service, and obviously it requires a COM in-proc server that gets registered with the TSF. I want to keep our projects in C# as much as possible, so I had to find out how to convert a C++ COM in-proc server over into the dotnet world, and I'm glad it was fairly painless.

Since that part is out of the way, I just have a few questions about structure in terms of communication between COM servers. Our in-proc server is inside of a DLL that is loaded by the TSF. I want to communicate with our in-proc server DLL from our main WinUI application. According to the TSF docs, this DLL is mapped into the address space of wherever the TSF is running, and TSF acts as a middleman between applications and text services. Based on this repository, is there a way the COM in-proc server could also act as an out of proc server, or should I create an out-of-proc server on our WinUI application, and have it loaded by the DLL the same way the example loads it via the ROT?

Thank you so much for your time and this example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant