[WPF] Input method switching between Chinese causes the program to crash randomly.

涛 黄 0 Reputation points
2023-11-22T06:28:44.1733333+00:00
应用程序: Win178.exe
Framework 版本: v4.0.30319
说明: 应用程序通过 System.Environment.FailFast(string message) 请求终止进程。
消息: 不可恢复的系统错误。
堆栈:
   在 System.Environment.FailFast(System.String)
   在 System.Windows.Documents.TextStore.OnEndComposition(ITfCompositionView)
   在 MS.Win32.UnsafeNativeMethods+ITextStoreACPSink.OnLockGranted(LockFlags)
   在 MS.Win32.UnsafeNativeMethods+ITextStoreACPSink.OnLockGranted(LockFlags)
   在 System.Windows.Documents.TextStore.GrantLock()
   在 System.Windows.Documents.TextStore.GrantLockWorker(LockFlags)
   在 System.Windows.Documents.TextStore.RequestLock(LockFlags, Int32 ByRef)
   在 MS.Win32.UnsafeNativeMethods+ITfMessagePump.GetMessageW(System.Windows.Interop.MSG ByRef, IntPtr, Int32, Int32, Int32 ByRef)
   在 MS.Win32.UnsafeNativeMethods+ITfMessagePump.GetMessageW(System.Windows.Interop.MSG ByRef, IntPtr, Int32, Int32, Int32 ByRef)
   在 System.Windows.Threading.Dispatcher.GetMessage(System.Windows.Interop.MSG ByRef, IntPtr, Int32, Int32)
   在 System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   在 System.Windows.Application.RunDispatcher(System.Object)
   在 System.Windows.Application.RunInternal(System.Windows.Window)
   在 Win178.App.Main()

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,944 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,788 questions
{count} votes

1 answer

Sort by: Most helpful
  1. HOHO HOHO 0 Reputation points
    2024-11-08T12:41:24.61+00:00

    User's image

    This version still has issues, very frequently

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.