I was using Pascal Script in Delphi 11. With 32-bit version , it was good and i got the o/p as expected. When it comes to 64-bit am getting Null pointer exception in a particular function “function TPSScript.Execute: Boolean;”.
Even though i downloaded latest code from github, am getting the same error.
I need working sample - your file contains a lot of references to other files and it cannot be compiled as is.
as I understand, your script is located in login.pre.
Can you simplify code and/or upload your project, pls?
you can drop email to support@ for keeping privacy.
Since our company was blocking the mail, I had no idea if you had received it or not. I was able to pinpoint the cause of the 64-bit exception we were experiencing, and this is why: the exception occurs when we attempt to use a function that returns a string. The function won’t throw an exception if it returns other datatypes.
Although I followed all the instructions in that link, AV is still appearing. I’ve included a sample file for 64-bit testing in the attachment. Please execute the program in Delphi 64-bit mode. Sample.pas (3.1 KB)