keymanapp / keymanapp/keyman

bug(windows): Winapi.MsCTF.TF_INPUTPROCESSORPROFILES has the wrong alignment in Delphi 10.2.2

Open
#508 1 comment 0 reactions 0 assignees View on GitHub
bug low-priority windows/
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

See https://quality.embarcadero.com/browse/RSP-19669: The Winapi.msctf.TF_INPUTPROCESSORPROFILES record has a 4 byte alignment but should have an 8 byte alignment on Win64. This makes the record 80 bytes instead of 88 bytes.

A redefinition of the TF_INPUTPROCESSORPROFILES structure (and the interfaces that we need that reference it) is in **keyman_msctf.pas**. Once the root issue has been addressed by Embarcadero, we should remove the redefinitions and all references to them.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.