xxm icon indicating copy to clipboard operation
xxm copied to clipboard

Conv demo

Open limelect opened this issue 7 months ago • 1 comments

Just testing Conv demo with d10.2.3 The new version (updated) does not compile with an error function Realloc(var NewCapacity: NativeInt): Pointer; override; realoc differ from older declaration

So I went back to your older version it had a loading error On editproject I changed to fd:AnsiString; other wize it was jibrish

limelect avatar Jun 03 '25 07:06 limelect

I have tried to fix the Realloc error with a {$IF CompilerVersion section, but am not sure what version it changed. I guessed 30, but I may have to change that to a different version...

TEditProjectMainForm.LoadProject does UTF8/UTF16 detection on the fly there, because older Delphi versions don't have System.IOUtils' TFile.ReadAllText and I didn't want an ugly {$IF section there, and was trying to keep Delphi 7 compatibility, but I may need to change it if it doesn't work. Though changing fd to an AnsiString may be an unclean fix if it breaks unicode support...

stijnsanders avatar Jun 03 '25 18:06 stijnsanders