remobjects / pascalscript

pascalscript
Other
447 stars 178 forks source link

Does PascalScript support Win64? #261

Open nmadani opened 2 years ago

nmadani commented 2 years ago

Tried compiling the example in ..\Samples\Console\Sample8.dpr for Win64 and got access violations.

breitsch2 commented 1 year ago

there's no win64 support for PS at the moment

evgeny-k commented 1 year ago

..\Samples\Console\Sample8.dpr works as expected with win64 platform. so PS for win64 works as expected

breitsch2 commented 1 year ago

You're right the 64 bit fix works, thanks procedure x64call( Address: Pointer; out _RAX: IPointer; var _XMM0: Double; var Registers: TRegisters); assembler; {$IFDEF FPC}nostackframe;{$ENDIF} asm

breitsch2 commented 1 year ago

Tested also with maXbox4 (script engine and studio) , works https://maxbox4.wordpress.com/

nmadani commented 1 year ago

Thank you. Yes indeed, it now compiles with just an expected String to AnsiString implicit cast warning.