Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!


Unofficial ByteStrings Patch To Enable AnsiString Support In Delphi XE8 Firemonkey On Android And IOS

Delphi XE8 Firemonkey PAnsiChar System ByteStrings Patch IOS Android NextGenDeveloper Andreas Hausladen has released an updated version of his patch for System.ByteStrings which gives you access to PAnsiChar and other types in Delphi XE8 Firemonkey. The string types that this patch enables are: ShortString, AnsiString, AnsiChar, PAnsiChar, PPAnsiChar, UTF8String, PUTF8String, RawByteString, and PRawByteString. The patch is basically a hex edited version of the System.ByteStrings O and DCU files for Android, IOS, OSX, and Windows. Using this patch can help ease the transition away from these types as you bring your older Object Pascal code forward on to mobile devices. There are versions for XE6 and XE7 too. I don’t think the System.ByteStrings patch files work with Appmethod. There are also a couple of other solutions for using PAnsiChar with the NextGen compiler which are ORawByteString.pas and MarshaledAString.

Head over and download the unofficial System ByteStrings patch for Delphi XE8 Firemonkey.


Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

Leave a Reply