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

AndroidAppmethodCode SnippetDelphiFiremonkeyIOS

Use AnsiString And UTF8String In Delphi XE5 Firemonkey On Android And IOS

Delphi XE5 Firemonkey Byte StringsEmbarcadero disabled access to byte stings in Delphi XE5 Firemonkey and if you’re a long time Delphi developer you may be missing them. They are also useful if you are bringing old code forward to use on mobile devices. Andreas Hausladen has a blog post with a solution for you. Apparently byte strings are still there in System.pas they are just renamed. Andreas provides a hex edited unit called System.ByteStrings.dcu which you can add to your project and uses clause providing you access to byte strings. The string types it enables are:

The unit has only been downloaded from his site a few hundred times so I know a lot of you don’t have it yet.

Update: There is now support for Delphi XE6 as well.

Head over and download the free bytes strings unit.

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

Related posts
DelphiIDEShowcaseWindows

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

DelphiFiremonkeyIDEIOSOSXWindows

DelphiCon 2020 FireMonkey Sessions Available Starting November 19

AndroidC++BuilderDelphiDemoFiremonkeyWindows

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

AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

Sign up for our Newsletter and
stay informed

Leave a Reply