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

Delphi XE2 Service not stopping properly

I've built a few services in Delphi 7 and did not have this problem. Now that I started a new service app in XE2, it won't stop properly. I don't know if it's something I'm doing wrong or if it might be a bug in the XE2 services. The execute…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
11
votes
1 answer

Interface delegation on Win64

Documentation states that interface delegation is available for Win32 only. Currently I can't test it, is it documentation bug or interface delegation is discontinued in 64-bit compiler?
kludg
  • 27,213
  • 5
  • 67
  • 118
11
votes
2 answers

Looking for a custom image grid

I'm trying to find a grid which is especially designed to show images. It needs to have good performance too, and preferably with some sort of thumbnail cache. The images need to be loaded from files, and it would be good if images can be assigned…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
11
votes
1 answer

How to make my Deskband's (Taskbar Toolbar) Form transparent

I'm working on a Windows Deskband in Delphi XE2 for Windows XP, Vista and 7 (Win32 and Win64)... I've implemented all the necessary interfaces (ITrayDeskBand, IDeskBandInfo, IDeskBand2, IDeskBand) in my code, and that all works exactly as it should…
LaKraven
  • 5,804
  • 2
  • 23
  • 49
11
votes
6 answers

combination without repetition of N elements without use for..to..do

i want load in a list the combination of N number without repetition, giving to input the elements and group. For example, with 4 elements [1,2,3,4], i have for: Group 1: [1][2][3][4]; Group 2: [1,2][1,3][1,4][2,3][2,4][3,4]; Group 3:…
Marcello Impastato
  • 2,263
  • 5
  • 30
  • 52
11
votes
5 answers

How to manage version information on Delphi XE2 across platforms

I am migrating projects from XE to XE2 and I have noticed that I am missing my manually entered version information such as Company Name, Product Version etc. Creating a simple empty VCL forms applications I see that data typed in for version info…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
11
votes
2 answers

Delphi 'in' operator overload on a set

In Delphi XE2, I'm trying to overload the in operator on a record to allow me to check whether the value represented by the record is part of a set. My code looks like this: type MyEnum = (value1, value2, value3); MySet = set of MyEnum; …
Jan Goyvaerts
  • 21,379
  • 7
  • 60
  • 72
11
votes
2 answers

Delphi XE2 background IDE compiler unable to find source path

I just bought XE2 version, installed the update 1 ISO, and made my Open Source projects compile with it. In fact: I added the source code paths of the library to the general settings IDE (for all platforms I use, i.e. Windows 32 bit and 64 bit up…
Arnaud Bouchez
  • 42,305
  • 3
  • 71
  • 159
11
votes
2 answers

How to make FastCodePatch work in Delphi XE2 Win64 platform?

Unit FastCodePatch.pas works in Win32 platform. Delphi XE2 supports Win64 platform, any ideas how to make FastCodePatch works in Win64 platform? unit FastcodePatch; interface function FastcodeGetAddress(AStub: Pointer): Pointer; procedure…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
11
votes
1 answer

Printing Firemonkey on Mac OSX

How can I print documents with the newly released Firemonkey framework?
Delphi2010
  • 143
  • 4
11
votes
2 answers

Toggle between form and unit is not working in Firemonkey project

I'm testing Delphi XE2 and I create a new FireMonkey HD Application, but I have an issue the form designer for the FireMonkey forms is not visible or Available, the option Toggle Form/unit in the View menu is disabled as well the toolbar button…
Salvador
  • 16,132
  • 33
  • 143
  • 245
11
votes
9 answers

Details of what features FireMonkey (FMX) inside the NEW Delphi Rad Studio XE2 contains?

I've heard that Delphi's NEW Rad Studio XE2 has something called FireMonkey that will allow the same code to build Windows 32, Windows 64 and MacOS applications. If this is true, this is huge. Where can I get the technical documentation that talks…
11
votes
1 answer

Why does WaitForMultipleObjects fail with multiple thread handles?

In the following test program each test thread adds its handle to a global TThreadList when it starts executing, and removes its handle from the same list when its execution is about to end. For testing purposes, additionally, each thread makes sure…
Sertac Akyuz
  • 54,131
  • 4
  • 102
  • 169
11
votes
2 answers

Why do I get "Constant expression violates subrange bounds" for HKEY_-constants in Delphi XE2 64bit?

When I compile the following code in Delphi XE2 for the target platform 64-bit Windows ... function HKeyToString(_HKey: HKey): string; begin case _HKey of HKEY_CLASSES_ROOT: result := 'HKEY_CLASSES_ROOT'; // do not translate …
dummzeuch
  • 10,975
  • 4
  • 51
  • 158
11
votes
1 answer

TBitmap.Create not working in delphi console application

I need to process a set of bmp files using a console application, i'm using the TBitmap class, but the code doesn't compile because this error E2003 Undeclared identifier: 'Create' This sample app reproduces the issue {$APPTYPE CONSOLE} {$R…
Salvador
  • 16,132
  • 33
  • 143
  • 245