Page 1 of 1

SaveAllToBinaryFile and RangeCheck

Posted: Thu Jul 31, 2003 1:38 pm
by dmitry
Now i'm getting an error then using SaveAllToBinaryFile, when compile option 'Range checking' - On/Checked.
It's mean that i have to Off range checking for whole project to use only this one function.

Any idea how i can use Range Checking for whole project?

May be i have to use {R-/+} into SaveAllToBinaryFile function.

Posted: Fri Aug 01, 2003 8:00 am
by gaivans
Hello Dmitry,

Yes, the "SaveAllToBinaryFile" method and some functions in the Translation Editor require Range Checking to be turned off. We will fix it in the next version release. Please, add to the beginnings of units siComp.pas and siTransEditor.pas the conditional {$R-}, or if you are using the trial version please enclose the calls to "SaveAllToBinaryFile" and "EditAll" functions with the corresponding swithces {$R-/+}.

Thanks Serghei

Posted: Fri Aug 01, 2003 8:13 am
by dmitry
Thanks Serghei