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
13
votes
6 answers

Delphi JSON library for XE2 available for object serialization

There appears to be a few JSON options for Delphi out there - is there a recommended library for use with XE2? I'm looking for sharing of objects between Delphi XE2 and PHP web applications. (serialization and posting delphi objects in a…
Darian Miller
  • 7,808
  • 3
  • 43
  • 62
13
votes
1 answer

Where are the standard looking iOS controls\styles in Delphi XE2?

We are currently in the process of evaluating Delphi XE2, and as you would expect I've started with FireMonkey as OS X and iOS development is of great interest. I've seen a couple of walkthrough's where people have created iOS apps using XE2 and…
Ross Harvey
  • 153
  • 1
  • 6
13
votes
2 answers

Delphi XE2: Looking for faster way to migrate VCL ProjectGroup from 32-bit to 64-bit

As stated in RAD Studio docwiki, to migrate 32 bit VCL application to 64 bit: Open your 32-bit application in the IDE, add and activate the 64-bit target platform, and compile your application as a 64-bit application. I have a project group that…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
13
votes
0 answers

Spring 4D. Who is using this framework, what is your experience?

I have been coding with Delphi for a year now. I do however have much more experience with .NET. I am reading Nick Hodges book 'Coding In Delphi' where he introduces and endorses the Spring 4 Delphi framework. I was immediately excited about the…
santiagoIT
  • 9,411
  • 6
  • 46
  • 57
13
votes
4 answers

How to cut a string to some desired number in delphi?

I have a database column which can take only 40 characters of a string. So when the length of string is greater than 40 characters, its giving me error. How can I cut/trim the string to 40 characters in delphi?
user1556433
13
votes
2 answers

MessageLoop within Thread

How can I implement a message loop within a thread using OTL? Application.ProcessMessages; is what i used so far but it isn't very safe to use it. Thanks
Santos Oliveira
  • 497
  • 1
  • 8
  • 18
13
votes
2 answers

How to get handle of a console window launched from my GUI application?

In my GUI app I run console app and need handle of its window. I tried with EnumWindows(), see code below, but it does not work. On list there is no my console app. type TEnumWindowsData = record ProcessId: Cardinal; WinHandle: THandle; …
Branko
  • 1,384
  • 1
  • 16
  • 35
13
votes
3 answers

Send simple strings in SOAP Header in Delphi

I need to send something like this: admin secret Delphi WSDL importer, generated this: userName2 = class(TSOAPHeader) …
Fabio Gomes
  • 5,914
  • 11
  • 61
  • 77
13
votes
2 answers

How do I create an alpha blended panel?

I'm trying to display a truly alpha blended TPanel in Delphi XE2. I've found quite a few attempts online, but none of them work correctly. What I'm trying to achieve is a 'semi modal' form. A form that is displayed over the top of other controls…
norgepaul
  • 6,013
  • 4
  • 43
  • 76
13
votes
2 answers

How do I prevent "end process tree" from terminating the programs mine has started?

I am trying to execute an EXE 'two.exe' from another application 'one.exe' in Delphi XE2 using ShellExecute. ShellExecute(0, 'open', 'two.exe', nil, nil, SW_NORMAL); It works perfectly, but whenever I terminate application 'one.exe' (the parent…
jimsweb
  • 1,082
  • 2
  • 17
  • 37
13
votes
2 answers

Can static arrays be safely accessed from multiple threads?

If each thread is guaranteed to only read/write to a specific subset of the array can multiple threads work on the same (static) array without resorting to critical sections, etc? EDIT - This is for the specific case of arrays of…
J...
  • 30,968
  • 6
  • 66
  • 143
13
votes
1 answer

How I can apply a vcl style to a TPopupmenu?

I'm using the vcl styles in a Delphi XE2 application, but when i popup a TPopupmenu this is show using the native windows look and feel, exist any way to apply the vcl style colors to the TPopUpMenu?
Salvador
  • 16,132
  • 33
  • 143
  • 245
12
votes
2 answers

How instruct to the Delphi IDE refresh the modified syntax highlight colors using OTA (Open Tools API)?

I'm writting a plugin to integrate the Delphi IDE Theme Editor with the Rad Studio IDE (the current version of this tool run as an external application) so far everything is working fine (see the below image), except the fact which I can't figure…
RRUZ
  • 134,889
  • 20
  • 356
  • 483
12
votes
1 answer

Can't compile package containing DSUtils in XE2

I am trying to compile a package containing DSUtils.pas (part of DSPack) and it fails because it tries to compile wrong DirectShow9.pas unit - not the one from the DSPack but the one from the Delphi XE2 (Update 3) RTL. The problem can be repeated…
gabr
  • 26,580
  • 9
  • 75
  • 141
12
votes
7 answers

How to restrict minimum form's width in FireMonkey?

How do I restrict a minimum form's width in FireMonkey? It used to be so easy in VCL - it just had Max and Min constraints in forms properties.
tdog2
  • 325
  • 1
  • 4
  • 12