AaronRobinsonMSFT / AaronRobinsonMSFT/COMInterop

TSF COM in-proc server

未关闭
#6 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
79
派生
18
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

The issue asks about architectural design for a TSF text service involving COM in-proc and out-of-proc servers. The repository contains examples of COM interop in .NET. To start, examine the existing examples for server registration and ROT usage. Understanding the TSF documentation and the specific communication requirements between the DLL and WinUI app is necessary. The goal is to determine whether to extend the in-proc server or create a separate out-of-proc server.

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
api, desktop
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。