Skip to content

64-bit ACCESS_VIOLATION in grid and edit controls #35

@bero

Description

@bero

Description

LongInt(@r) truncates 64-bit pointers to 32-bit, causing ACCESS_VIOLATION
when clicking grid cells or using edit controls on Win64.

Changed LongInt to LPARAM which is the correct Windows API type for
SendMessage's lParam parameter (32-bit on Win32, 64-bit on Win64).

How to test

Compile a project for 64-bit
TBoldGrid: For any editable cell in TBoldGrid click to edit value
TBoldEdit: Use ButtonStyle bbsEllipsis. Click on ... in runtime

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions