With the advent of Xe8, it began to support the compilation of iOS 64 (no support, no way, starting from February this year does not support iOS 64 apps
Not allowed to stay at Apple AppStore, domineering AH). I believe many students can't wait to start the development of IOS64.
KBMMW 4.8 began to support the Xe8, but currently can not directly compile IOS64 application, after analysis of its source, found that there are two main
Problem.
One problem is the Seek method of the stream, which can be used when non-IOS64
sofrombeginning = 0;
Sofromcurrent = 1;
Sofromend = 2;
To locate. For example, stream. Seek (0,sofrombeginning);
But under IOS64, you can only use the latest
Type
{TStream Seek Origins}
Tseekorigin = (sobeginning, socurrent, soend);
To locate the stream, such as stream. Seek (0,sobeginning);
The latter approach is common across all platforms, so it is recommended that you use this method later.
Another problem is the massive use of longint in KBMMW, but under iOS 64, Longint has become 8 bytes in size,
So there will be a lot of errors at compile time, in order to adapt to this change, Xe8 introduced a new integer type, Fixedint, which realizes the independence of the operating system,
Unconditional is 4 bytes in size, so this problem is basically solved by temporarily using Fixedint replacement for a large number of longint in KBMMW.
Through the above modification, KBMMW basically can be compiled and run on the IOS64, because it is not the official modification, not fully guaranteed no problem.
Let KBMMW 4.8 support iOS 64