Skip to content

CoreTextServicesManager not working #3226

Answered by DarranRowe
FrozenAssassine asked this question in Q&A
Discussion options

You must be logged in to vote

This is expected. Anything that uses GetForCurrentView is basically getting an instance of this class attached to a CoreWindow. The issue is that CoreWindow isn't available at all in a desktop environment, which is what WinUI/Windows App SDK runs in.

What this means is these runtime classes need some method to get an instance of the class attached to a HWND instead. There is documentation stating which of these runtime classes can currently be used in desktop applications and what you need to do to get an instance, but as you can imagine, it isn't that easy.

According to this documentation, CoreTextServiceManager isn't supported in any release version of Windows and is only currently supp…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FrozenAssassine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants