Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Fixed Access violation with 64 bit compilers and updated ifdefs#20

Open
csm101 wants to merge 1 commit intohgourvest:masterfrom
csm101:bugfix_x64
Open

Fixed Access violation with 64 bit compilers and updated ifdefs#20
csm101 wants to merge 1 commit intohgourvest:masterfrom
csm101:bugfix_x64

Conversation

@csm101
Copy link

@csm101 csm101 commented Oct 21, 2016

DynArraySetLength expects a poiner to a Nativeint variable, which is 8 bytes when compiling for 64 bits, but code was passing a pointer to a 32 bit integer. this caused random access violations.

I also updated the ifdefs to take care of delphi versions > XE7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant