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
2
votes
1 answer

TDBLookupCombobox FireMonkey

TDBLookupCombobox Can anyone help me to reproduce TDBLookupCombobox functionality in FireMonkey?
Alez
  • 95
  • 3
  • 8
2
votes
2 answers

Access violation at address 50043a45 in module 'rtl160.bpl'. Read of address 00000000

Just updated delphi xe2. The delphi crashes at startup with the error message: Access violation at adress 50043a45 in module 'rtl160.bpl'. Read of address 00000000 Tried to reinstall update 3, didn't help. Looked in here and no…
none
  • 4,669
  • 14
  • 62
  • 102
2
votes
3 answers

How can I translate the Firemonkey's Resource Strings?

I'm иrazilian and I need the Firemonkey's Resource Strings in my language, for example when I use the dialogs. I couldn't find a way to translate it. Does someone know how to do it?
llanfair
  • 1,845
  • 4
  • 27
  • 43
2
votes
1 answer

Why does Delphi XE2 not find the QrCtrls.dcu file for the QuickReports package?

I have Delphi XE2 Professional, and QuickRep505 components was installed with it, but the source code is not available. A project I am starting to maintain uses a QrCtrls.dcu file, but cannot find it when I run the project. I have tried to configure…
Geoffrey
  • 123
  • 1
  • 5
2
votes
1 answer

EInvalidCast exception is raised when assign a procedure of object, via TRttiProperty.SetValue

I'm trying assign a property which is of type procedure of object via rtti using the TRttiProperty.SetValue procedure, but this exception is raised when i try the made the assignment EInvalidCast: Invalid class typecast This sample application shows…
Salvador
  • 16,132
  • 33
  • 143
  • 245
2
votes
1 answer

firemonkey + xcode, mixed code

Using Delphi XE2 we can export sources into xcode and compile them with free pascal compiller. But all examples i'v ever seen dont modify .pas files in xcode, just export and run. I wonder if I could add any delphi units or libraries into…
November
  • 63
  • 5
2
votes
3 answers

F2051 Unit JclUnitVersioning was compiled with a different version of System.Contnrs.TObjectList.Remove

I'm migrating a Delphi 2 project to RAD Studio XE2. When I try to compile I get [DCC Fatal Error] MyUnit.pas(9): F2051 Unit JclUnitVersioning was compiled with a different version of System.Contnrs.TObjectList.Remove at the following row: unit…
bluish
  • 26,356
  • 27
  • 122
  • 180
2
votes
2 answers

Is there any way to link to VSTS 2010 from Delphi XE2?

I am working on Delphi XE2 version. We are planning to move our code base from JEDI to VSTS 2010. Is there any way to add plugin (like JEDI) or link VSTS 2010 to Delphi XE2? Does Delphi XE2 support such kind of functionality or any plug-in? Update :…
Dev
  • 629
  • 2
  • 9
  • 23
2
votes
1 answer

UTF8Encode in Delphi XE2

I'm trying to convert string using Var encode:ansistring; begin encode:=UTF8Encode('اختبار'); showmessage(encode); end; It's working fine in Delphi 7 but in Delphi XE2 it's send Text as question marks Any suggestions?
Mohammed Rabee
  • 345
  • 2
  • 8
  • 23
2
votes
1 answer

Initialising Variables of a given class in Delphi xe2

I'm really sorry to have to ask this, but I clearly don't understand something fundamental to Delphi. When you declare a variable of a class like TIdSSLIOHandlerSocketOpenSSL, what do you have to initiate it to? Clearly if it was a string or an…
N. McA.
  • 4,796
  • 4
  • 35
  • 60
1
vote
1 answer

changing active control using fontdialog and RichEdit

I migrated from Delphi v7 to Delphi XE2. I am trying to use a fontdialog with two dbrichedit and a dbedit control. The code I used to accomplish the task works fine in Delphi v7, but it does not work with XE2. I think it must be some simple thing I…
Robert
  • 61
  • 1
  • 14
1
vote
2 answers

Can Application.terminate lead to memory leak?

At one point of time, I have to terminate my application developed in Delphi XE2 using Application.Terminate. I would like to confirm, will there be any memory loss due to this? If yes, what all possible scenarios I need to take care of? And how…
Dev
  • 629
  • 2
  • 9
  • 23
1
vote
2 answers

Issue with releasing Interfaced Objects when held in an Array

To provide as much information as I can, here's a very basic example of what I'm doing type IMyInterface = interface [THE_GUID_HERE] // some methods end; TMyInterfaceArray = Array of IMyInterface; TMyInterfacedObject =…
LaKraven
  • 5,804
  • 2
  • 23
  • 49
1
vote
1 answer

Unicode version for Delphi (XE2)

We are upgrading our application from Delphi 2007 to Delphi XE2, which includes unicode support as well. Our desired unicode version support is 3.2 and above. Which Unicode version does Delphi (XE2) support?
SK9
  • 87
  • 11
1
vote
2 answers

Typecast child component properties to ini file

I'm currently having a major headache with typecasting of component properties. On my form, i have a TPanel called "scene". Also on the form, i have a button that creates a TSelection, and within that TSelection creates a TImage and then load a…
Scott P
  • 1,462
  • 1
  • 19
  • 31