Windows 11 22H2 and VCL Applications IME Trouble

From Support
Jump to: navigation, search

The latest release of Windows 11 (the 22H2 release) makes some radical changes to the IME (Input Method Editor, used by many Eastern Asia locales) support. This change breaks existing VCL applications when opening/closing the IME by keyboard, dating back at least to Delphi 7 and including the most recent release, RAD Studio 11.2. You might get an error message like:

"Project Project1.exe raised exception class $C0000090 with message 'floating point invalid operation at 0x6e9ca449'."

The issue happens for many existing applications: if your customers are affected we recommend suggesting to them these two possible workarounds in the Windows 11 configuration:

  1. Select the option: "Use previous version of Microsoft IME" (see here)
  2. Disable the feature: "Send optional diagnostic data" (under Windows Settings, Privacy & security, Diagnostic & feedback path, see here)

Currently, the problem only appears in the new Japanese IME on Windows 11 22H2. It might affect other IMEs if Microsoft updates them.

While we think Microsoft should fix this issue, which affects many existing Windows applications, we are working on a fix to the VCL library to avoid the problem once an application has been rebuilt.