Let KBMMW 4.8 support iOS 64

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.