Questions tagged [delphi-xe2]

Delphi XE2 is a specific version of Delphi. Delphi XE2 was released on September 1, 2011 and is available as a standalone product or as part of RAD Studio XE2.

Delphi XE2 is a specific version of released on September 1, 2011.

Notable new features of Delphi XE2 are:

  • Support for 64 bit applications (on Windows only);
  • Inclusion of a new framework called that allows for cross platform development;
  • Cross platform development for Mac OS X and iOS(*) (in addition to Windows);
  • Live bindings, a new data binding concept for VCL and FireMonkey that supersedes data-awareness of controls.

*iOS projects require an extra development step using Xcode and the Free Pascal compiler on a Mac, but do deliver native iOS code.

Delphi XE2 was preceded by .

Always use the tag alongside this tag.

2598 questions
12
votes
2 answers

Which library for XML files in a Delphi Cross-platform application?

I'm writing a FireMonkey application which must run in Windows as well in OSX. Until now I've used MSXML for my Windows apps, but of course this library is not compatible with OSX. So the question is, does Delphi XE2 include any XML library…
Salvador
  • 16,132
  • 33
  • 143
  • 245
12
votes
1 answer

Firemonkey and large amounts of data

I just had a look at Firemonkey's grid implementation and it turns out that it is a very simple implementation (only 1800 lines which seems not much for a grid implementation). It does almost no custom painting but does instead aggregate a lot of…
jpfollenius
  • 16,456
  • 10
  • 90
  • 156
12
votes
2 answers

Delphi XE2: Does FastMM work with Win64 application?

I use FastMM in my Delphi application to trace memory leaking especially in FullDebugMode. With the new release of Delphi XE2, can we use FastMM as the memory manager? Can FastMM work with the Win64 platform?
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
12
votes
1 answer

Using Indy 10 IdHTTP with TLS 1.2

Im using Delphi XE2 with Indy 10.5.8.0 Currently i need to change a connection to one of our server to use only TLS 1.2, at the moment we are using TLS 1.0 As handler for IdHTTP , IdSSLIOHandlerSocketOpenSSL is being used. I tried changing the…
vexen
  • 345
  • 1
  • 4
  • 20
12
votes
1 answer

Disabling the form still allow childs controls to receive input

I'm having a lot of headache in the last days with delphi, what im trying to do is a lot simple, block the interface at somepoint and enable after some other point. But as simply as it sound i couldn't figure out why somethings are allowed by…
kabstergo
  • 761
  • 4
  • 16
12
votes
1 answer

Generics not resolving method types correctly

Consider the following : {$APPTYPE CONSOLE} uses Generics.Collections; type TObjProc = procedure of object; TFoo = class public procedure DoFoo; public procedure DoBar; end; procedure TFoo.DoFoo; begin …
J...
  • 30,968
  • 6
  • 66
  • 143
12
votes
4 answers

Why is a Boolean expression (with side effects) not enough as a statement?

function A: Boolean; function B: Boolean; I (accidently) wrote this: A or B; Instead of that: if not A then B; The compiler rejects the first form, I am curious why? With short circuit evaluation they would both do the same thing, would they…
Jens Mühlenhoff
  • 14,565
  • 6
  • 56
  • 113
12
votes
3 answers

How to calculate count of business days between two dates?

I need to calculate count of business days (working days) between two given dates. Business days are all days of the week except Saturday and Sunday. I'm not considering holidays into this count. How to calculate count of business days between two…
Sardukar
  • 247
  • 6
  • 16
12
votes
1 answer

Porting a multi-threading Delphi application to Mac: what are my choices?

I need to port an application (written in XE2) to Mac. My application is split into a simple UI executable (single-threaded) and an invisible engine (which heavily relies on OmniThreadLibrary 3.02 and Cromis DirectoryWatch) Both EXEs communicate via…
TheDude
  • 3,045
  • 4
  • 46
  • 95
12
votes
2 answers

How to check URL with IdHTTP?

How can I check for the target URL for specific response code like 200 OK without Indy throwing all sorts of exceptions out. ConnectionTimeout,ConnectionClosedGracefully, etc... For example if URL is not proper or its host cannot be found or cannot…
Santos Oliveira
  • 497
  • 1
  • 8
  • 18
12
votes
2 answers

How can I declare an array property?

I constructed class system TTableSpec=class(Tobject) private FName : string; FDescription : string; FCan_add : Boolean; FCan_edit : Boolean; FCan_delete : Boolean; FFields : array[1..100] of TFieldSpec; public …
user1730626
  • 437
  • 1
  • 8
  • 16
12
votes
2 answers

Delphi XE2 RTTI broken?

I recently migrated from D2010 to DXE2 and found a showstopper bug (Or feature?) in XE2 and XE3 (Tested in my friend XE3) related to RTTI generation for TBytes fields inside classes. I found that the RTTI information for a TBytes variable inside a…
Eric
  • 552
  • 3
  • 14
12
votes
2 answers

Recent Failures on Delphi TADOStoredProc / D6 and RAD Studio XE2

Thanks to any that can provide some assistance... Background: I have an application coded and still supported in Borland Delphi v6. Very recently I have had issues with the TADOStoredProc class failing to execute the stored procedure. This code…
user1631866
  • 121
  • 3
12
votes
2 answers

TClientDataset in OS X Firemonkey App

I have a Windows Firemonkey app that uses TClientDatasets to load XML data files that I'm trying to get to work on OS X. The data files are stored on a Windows file share so multiple users can access the same data (I'm not concerned about…
11
votes
3 answers

How to disable unicode in Delphi xe2

Is there a way to do this ? I'm currently using 2007 and am looking to upgrade, but its very frustrating trying to get this new version to do anything. The new behaviour of char, strings and Pchar in xe2 kills virtually every application and third…
Andy k
  • 1,056
  • 1
  • 11
  • 22