If I understand this correctly, Lazarus/FPC uses its own port of PascalScript, and this 64-bit fix is currently not enabled or integrated there.
Therefore, it seems that the FPC/Lazarus port may need to be adjusted or tested so that GUI events work correctly in 64-bit applications.
True, but as explained, the inclusion is made only to fulfill editor-macro needs, and they do not use events. So the current version fully works.
Its a long time, since I checked (probably a year, maybe longer), in the past most updates had commit messages marking them as Delphi only. And its been unclear which branch to follow.
I see that there have been cherry picks, since...
So when I find time, I may merge them into 4.99.
But even if, I will only test that it works for editor macros. And nothing else.
If the commit you look for is
86a057c8686143ce0443be6995d6515c5c9b705c
* 1)InvokeCall added, instead of all different callers (x86, x64, powerpc etc) for Delphi 2010+. (#207)
then I don't know if it will work... From hear say, if at all then only with fpc 3.3.1, and potentially some extra conditions on top (but I have no idea).
So for your own project, I am afraid, but I can't help you.
All that any update would do, is to save you from downloading a copy from remobjects, and you probably have done that already.
If it is InvokeCall, then ask on the fpc list (or the fpc section of the forum) what you need to use the function. Once that works, you should then be able to use it with PascalScript too. (I guess).