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
1
vote
3 answers

Dynamic TList of TList

i have this problem: as i can add list to one list? i have tried so, but main list return always one list, and not understand where i mistake. The structure is this: PCombArray = array of Integer; PStatsRecord = record Comb: PCombArray; …
Marcello Impastato
  • 2,263
  • 5
  • 30
  • 52
1
vote
1 answer

Delphi XE2 - System.Str changed/broken?

Something has changed with System.Str in Delphi XE2. The following procedure : procedure someProcedure; var E:double; outString:string; begin E:=-1.7E+308; Str(E:i:j, outString); end; Raises an access violation (exception class…
J...
  • 30,968
  • 6
  • 66
  • 143
1
vote
2 answers

Blob to String : How to convert Blob to string from StoredProcedure Parameter in PostgreSQL?

I have stored procedure (function in Postgres) with type of parameter like this : Params[0] : result = ftBlob // postgresql function = text Params[1] : 1 = ftString Params[2] : 2 = ftInteger Params[3] : 3 = ftInteger my code is like this…
dayat
  • 57
  • 3
  • 8
1
vote
2 answers

Unable to display .chm help file in Delphi XE2 app - why?

We are porting our app to Delphi XE2 from Delphi 6. Problem is, the help file will not display no matter what I try. Using Delphi XE2 (Update 3) on Win 7 64. Using a valid help file (.chm) that works with my Delphi 6-built app. I create a simple app…
TJ Asher
  • 737
  • 9
  • 27
1
vote
2 answers

Delphi XE2 Indy 10 TIdCmdTCPServer freezing application

I'm just starting to learn how to use the Indy 10 components in Delphi XE2. I started with a project that will use the command sockets (TIdCmdTCPServer and TIdCmdTCPClient). I've got everything set up and the client connects to the server, but after…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
1
vote
1 answer

fOpen with Parameters not working correctly

Good evening! I'm currently in the first stages of development with a new application in Firemonkey. It's my first run in with Firemonkey, but i've got a few years experience with Delphi. So far, i've got an external application that extracts an…
Scott P
  • 1,462
  • 1
  • 19
  • 31
1
vote
0 answers

Is there a way in the Delphi XE2 IDE to find last changes to a line in SVN?

There was one feature in Visual Source Safe (at least the Delphi 7 visual source safe connector) that was really handy that we miss quite a bit since changing over to SVN and Delphi XE2. It was a feature that allowed you to right click on a line…
Peter Turner
  • 11,199
  • 10
  • 68
  • 109
1
vote
2 answers

How to get a permanent directory from Windows for storing cached thumbnail images?

I'm building an image thumbnail cache system, and one of the main things I need it to do is basically ask Windows for the best place to store my permanent cached files. I've seen many good ways of getting temp directories, but I need a permanent…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
1
vote
2 answers

Reading unicode strings from content fields of TWebRequest

How can we retrieve actual unicode string from the content fields of TWebRequest. When i try to read content fields of TWebRequest to get the input unicode value i have entered in a text i see scrambled value instead of the actual. The input which i…
ravi12
  • 39
  • 1
  • 4
1
vote
1 answer

How to break date field into year, quater, month, day in FastCube (under Delphi XE2) using coding?

What I want to achieve:- I want to add the fields such as year_mydatefield, month_mydatefield, quater_mydatefield on x-axis. These break down fields are available during runtime in fields list, but I want to code them so that they appear…
Colin Jong
  • 63
  • 1
  • 6
1
vote
1 answer

structured array and search

I need some suggestions for solving this problem. I have this data structure: type QmyArray = array of integer; PmyArray = record element: Qmyarray; value: integer; end; TMyArray = array of Pmyarray; var myarray: tmyArray; …
Marcello Impastato
  • 2,263
  • 5
  • 30
  • 52
1
vote
1 answer

Delphi XE2 option set nested limit?

I have a complex project group that has about 10 "final" build configurations configured in a tree, where each node has its own option set. Something like this: Base Release Release Generic 1 Release Final 1 ... Release final 5 Release Generic…
ciuly
  • 532
  • 5
  • 13
1
vote
3 answers

TurboPower B-Tree Filer and Delphi XE2 - Anyone done it?

I might be the last guy on the planet relying on B-Tree Filer but I made the jump from Delphi 2007 to XE2. After getting over all the AnsiChar and PAnsiChar issues, the code now crashes with a Range Check with zero items on a page. Is anyone…
Bookup
  • 13
  • 5
1
vote
2 answers

Disabled TEdit Font Colour

I have an application having one TEdit which is disabled when the application runs. After some calculations it will be enabled. My requirement is to set the Font.Color of this disabled TEdit as Blue instead of Grey (Disabled Font Color).
Koushik Halder
  • 445
  • 1
  • 9
  • 15
1
vote
2 answers

Setting unit scope in XE2

Further to my previous question, I had an error when trying to call MessageDlg() [DCC Error] MainForm.pas(54): E2003 Undeclared identifier: 'mtError' So I pulled up help and found that mtError is declared in Dialogs. I opened Project/Options/Unit…
Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551