Skip to content

Fix truncated data link pointer on Win64 - #2

Open
TetzkatLipHoka wants to merge 1 commit into
VSoftTechnologies:masterfrom
TetzkatLipHoka:fix/win64-dbedit-lresult
Open

Fix truncated data link pointer on Win64#2
TetzkatLipHoka wants to merge 1 commit into
VSoftTechnologies:masterfrom
TetzkatLipHoka:fix/win64-dbedit-lresult

Conversation

@TetzkatLipHoka

Copy link
Copy Markdown

TCustomDBSynEdit.CMGetDataLink assigned the data link pointer to Msg.Result
through an Integer cast, which truncates it on Win64 - the caller of
CM_GETDATALINK gets an unusable pointer. LRESULT is the type the message
field actually has and is Integer-wide on Win32, so nothing changes there.

Built with 13.1 for Win32 and Win64.


🤖 Generated with Claude Code

TCustomDBSynEdit.CMGetDataLink assigned the data link pointer to Msg.Result
through an Integer cast, which truncates it on Win64 - the caller of
CM_GETDATALINK gets an unusable pointer. LRESULT is the type the message
field actually has and is Integer-wide on Win32, so nothing changes there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant