-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99239cd
commit da46ad2
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
da46ad2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised this is not already defined in
Winapi.Windows
. Or maybe you did not want to depend on it?da46ad2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is defined in Winapi.Windows starting with XE2. Older Delphi versions are missing the LONG declaration. All WinAPI LONG usages are written as Longint in the older Windows.pas files.
I could have changed the JclDotNet.pas that now uses LONG, but in the long run having LONG in all Delphi versions may be the better choice.