Questions tagged [delphi-xe5]

Delphi XE5 is a specific version of Delphi released in September 2013. Always use the [delphi] tag alongside this tag.

Delphi XE5 is a specific version of Delphi.

Delphi XE5 was released on September 12, 2013 and is available as a standalone product or as part of RAD Studio XE5.

Delphi XE5 is compiler version 26, directive symbol VER260.

Notable new features of Delphi XE5 are:

Delphi XE5 was preceded by Delphi XE4.

Always use the tag alongside this tag.

880 questions
20
votes
5 answers

How to work with 0-based strings in a backwards compatible way since Delphi XE5?

I'm trying to convert my current Delphi 7 Win32 code to Delphi XE5 Android with minimal changes, so that my project can be cross-compiled to Win32 from a range of Delphi versions and Android from XE5. Starting from XE5 there are breaking changes in…
Kromster
  • 7,181
  • 7
  • 63
  • 111
17
votes
1 answer

Why {$IFDEF MSWINDOWS} is replaced with {$IF defined(MSWINDOWS)} in Delphi XE5?

In XE5 all conditional compilations such as {$IFDEF MSWINDOWS} are replaced with {$IF defined(MSWINDOWS)} For example System.Diagnostics.pas in XE4 had ... implementation {$IFDEF MSWINDOWS} uses Winapi.Windows; {$ENDIF} {$IFDEF MACOS} uses…
17
votes
1 answer

Android NFC in Embarcadero XE5

Trying to get NFC to work on Android in Embarcadero XE5. Started with the following: https://forums.embarcadero.com/thread.jspa?threadID=97574 which seem to be working. Now would like to register callback for the NFC Intent Java approach: 1.…
Boris Mocialov
  • 3,439
  • 2
  • 28
  • 55
17
votes
3 answers

Delphi XE5 right to left languages don't appear as they should in android

as the title says , a text from a RTL language like persian or arabic doesnt show well in android for example the word "سلام" shows as "م ا ل س". this problem happens even in text inputs (which i thought they were native and native android…
Adib Faramarzi
  • 3,798
  • 3
  • 29
  • 44
17
votes
4 answers

How to send SMS with Delphi XE5 in Android

Does anybody know how to get this to work? The closest I got was the code below, but got no success. At first, it gives you some hope when it tells you need the SEND_SMS permission. But after you setup this permission, nothing happens! uses …
rribas
  • 415
  • 1
  • 6
  • 6
16
votes
1 answer

Application taking a really long time to synch threads ( or not at all )

I am using REST components in Delphi XE5 (iOS and Android). I am testing via the iOS simulator currently, and my application often hangs at the following line within my code: R_Request.Execute; After some debugging, I find it it specifically hangs…
ThisGuy
  • 1,405
  • 1
  • 24
  • 51
16
votes
6 answers

How do I handle a back-button press in a (Delphi) Android app?

How can I make my Android app react to the back-button? Is there something as high-level VCL's TApplicationEvents to handle it, or do I need to dive deep into low-level Android-specific stuff here? Right now, most of the demo applications have an…
Wouter van Nifterick
  • 23,603
  • 7
  • 78
  • 122
15
votes
2 answers

Delphi interface helpers / workarounds

I realise that Delphi does not support interface helpers, but after reading several SO topics and sources of Spring4D and so forth, I'm wondering is there is any way to achieve the following? The source code comments pretty much sums up what I'm…
Rick Wheeler
  • 1,142
  • 10
  • 22
15
votes
1 answer

What is the difference between "Limited Debugging Information" and "Debug Information" in Delphi XE5 compiling setting

Delphi XE5 compiler for Win32 has new setting for Debug Information: Limited Debugging Information. What is the difference between Limited Debugging Information and Debug Information?
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
14
votes
1 answer

How to convert strings to array of byte and back

4I must write strings to a binary MIDI file. The standard requires one to know the length of the string in bytes. As I want to write for mobile as well I cannot use AnsiString, which was a good way to ensure that the string was a one-byte string.…
Arnold
  • 4,578
  • 6
  • 52
  • 91
13
votes
2 answers

Is it safe to replace array of XXX with TArray

I have quite a few variables declared as var Something: array of XXX; begin SetLength(Something, 10); try ... finally SetLength(Something, 0); end; end; To what extend is safe to have them replaced: var Something:…
Gad D Lord
  • 6,620
  • 12
  • 60
  • 106
13
votes
1 answer

Delphi XE5 Serial Port on Android

Anyone have any idea how to access serial port in android with delphi XE5? I'm using a Cubieboard with android 4.1
EversonNovka
  • 181
  • 2
  • 6
13
votes
1 answer

How to access OpenGL rendering context on Android with Delphi XE5?

How to create OpenGL rendering context on Android device when developing an application with Delphi XE5? Basically I don't know where to start. There are no OpenGL examples yet. What I would expect to exist: Some kind of event (Panel.OnRender) that…
Kromster
  • 7,181
  • 7
  • 63
  • 111
12
votes
4 answers

Forward declarations for record types (or arrays)

I want to do this in XE5: type TMyRec = record // fields class function GetList: TMyRecArr; static; end; TMyRecArr = array of TMyRec; I've already seen "Forward declarations for record types" and "how to do a typed forward…
saastn
  • 5,717
  • 8
  • 47
  • 78
11
votes
3 answers

Why does scrolling through ADOTable get slower and slower?

I want to read the entire table from an MS Access file and I'm trying to do it as fast as possible. When testing a big sample I found that the loop counter increases faster when it's reading the top records comparing to last records of the table.…
saastn
  • 5,717
  • 8
  • 47
  • 78
1
2 3
58 59