DWScript icon indicating copy to clipboard operation
DWScript copied to clipboard

TdwsRTTIInvoker.ValueFromIInfo

Open Molochnik opened this issue 3 months ago • 0 comments

On Delphi 11/12 DynArraySetLength as the last parameter accepts PNativeInt so please change the local vars in the function TdwsRTTIInvoker.ValueFromIInfo to: var LLen: NativeInt; Index: NativeInt;

On Linux its critical Actually the problem could be easily found when setting {$T+} in the dwsRTTIExposer.pas. I dont think it was a good idea to explicitly set {$T-} for ALL DWScript modules as it is done now via inc file.

Molochnik avatar Oct 17 '25 05:10 Molochnik