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.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Get The Accessibility Support Pack For Delphi XE8 Firemonkey On Windows And Mac OSX

Embarcadero has released a free accessibility pack for Delphi XE8 Firemonkey on Windows and Mac OSX.  The accessibility pack brings...

Close