Search code examples
comtext-services-framework

Text Services Framework Application


I can find tons of examples on how to make a Text Services Framework Service but not one on how to make an app that uses it actually. While I'm trying to do this in C# I'm getting despite enough to even use C++ examples if that's all I can get!


Solution

  • I wrote an article for MSDN magazine that talks about writing TSF text stores, and there are a couple of samples in the Windows 7 SDK that implement ITextStoreACP. You may also find this implementation interesting as well.

    Windows 8 modern apps should implement ITextStoreACP2 instead; the changes are relatively minor.

    Part of the difficulty of writing a sample for ITextStoreACP is that you need some sort of document already, which tends to make the samples overly complicated.

    All the examples I know of are in C++. Text stores (unlike text services) can be written in C# without any performance issues.