Questions tagged [delphi-xe3]

Delphi XE3 is a specific version of Delphi released on Sept. 2012

Delphi XE3 was released in September 2012 and is available as a standalone product or as part of RAD Studio XE3.

Delphi XE3 codename is WaterDragon, compiler version 24, directive symbol VER240.

Delphi XE3 was preceded by Delphi XE2 and succeeded by Delphi XE4.

Always use the tag alongside this tag.

666 questions
8
votes
1 answer

Delphi XE2 TZipFile: replace a file in zip archive

I'd like to replace a file (= delete old and add new) in a zip archive with the Delphi XE2/XE3 standard System.Zip unit. But there are no replace/delete methods. Does anybody have an idea how it could be achieved without needing to extract all files…
oxo
  • 946
  • 9
  • 21
8
votes
1 answer

How can I reduce the size of my Delphi dll's?

I recently moved from Delphi 7 to Delphi XE3. A dll file that was 107kb in Delphi 7 is now compiling to 2.7 MB. Another that was 114kb is now 4.7 MB! Is this normal? What might I do to reduce the file sizes? If you need more info please…
Steve
  • 695
  • 10
  • 17
8
votes
1 answer

How do you style the non-client area in a Firemonkey FM2 application in Delphi XE3

I previously asked this question in the Delphi XE2 timeframe, and the answer then was a pretty ugly hack. Now Delphi XE3 supports non-client theming, according to the official release notes. How do you do it in Delphi XE3 in Firemonkey FM2? I…
Warren P
  • 65,725
  • 40
  • 181
  • 316
7
votes
1 answer

Delphi record assignment bug

I've encountered some strange behaviour of delphi XE3 compiler (i compile for x86 architecture). Imagine i have class with one field - custom record with several field of simple types: TPage = class type TParagraph = record public …
loltrol
  • 103
  • 5
7
votes
1 answer

Delphi compiler Error: Compiler for personality "Delphi.Personality" and platform "Win32" missing or unavailable

After installing Delphi XE3 on HP Probook 4540S notebook (Win 7Prof 64 bit) I have problems while compiling, The project was an empty VCL project with no components on the form. At first I received "Invalid PLATFORM variable "BNB". PLATFORM must be…
Avrob
  • 533
  • 2
  • 10
  • 20
7
votes
2 answers

How do I use a generic method in a derived type

This would seem fairly simple and maybe I am just missing a bit of syntax glue... Here is my simple generic (Delphi XE3) example: unit Unit1; interface uses generics.collections; type X = class public Id: Integer; end; XList =…
Rob
  • 3,315
  • 1
  • 24
  • 35
7
votes
2 answers

How to use Delphi standard confirmation dialog but with checkbox "Don't ask me again"?

In many confirmation dialogs it is usefull to have such option (quick wayt to disable confirmation). But i can't find how to do that. I don't want to design it myself because i need this dialog to be standard-like and don't wont to redesign with…
Andrei Galatyn
  • 3,322
  • 2
  • 24
  • 38
7
votes
1 answer

Can we use RTTI to find functions/procedures by name and run them?

As we can find a Property or an Object using RTTI, can we search for a certain function or procedure (not from an object as a method but from an unit) loaded in memory knowing just it's name? And if we can, is it possible to execute it sending it's…
NaN
  • 8,596
  • 20
  • 79
  • 153
7
votes
2 answers

How to configure FastMM to detect memory leak in a dll

I can't figure out how to detect memory leaks in a statically or even dynamically linked dll. I just want to detect the leaks in the dll, and I don't want to share the memory manager between the dll, and the app. Additionally the dll is linked with…
balazs
  • 5,698
  • 7
  • 37
  • 45
7
votes
1 answer

TActionMainMenuBar, VCL-Styles and MDI buttons(Minimize, Close etc) not being styled.

I'm trying to make TActionMainMenuBar display styled MDI buttons like a TMainMenu does. Any suggestions? I can't stop using MDI for this project.
7
votes
3 answers

Why can't I return arbitrary array of string?

The compiler allows me to do the following: procedure MyProc(const ADynData: array of string); or procedure MyProc(const ADynData: TStringDynArray); and pass arbitrary data like so: MyProc(['Data1', 'Data2']); However, won't allow function…
James
  • 80,725
  • 18
  • 167
  • 237
7
votes
1 answer

Undocumented Members of TPropInfo

System.TypInfo.TPropInfo has two function members (at least in D-XE3): function NameFld: TTypeInfoFieldAccessor; inline; function Tail: PPropInfo; inline; I cannot find any documentation for them or any examples of their use. What are they for and…
Max Williams
  • 821
  • 1
  • 7
  • 13
7
votes
2 answers

TToolbar incompatible with TForm.DoubleBuffered?

I am using Delphi XE3. When I create a new VCL project and drop a TToolbar on it, everything works fine - except when I activate Form1.DoubleBuffered. From that moment on, drawing of the toolbar is broken - in designtime, it's either black,…
Imanuel
  • 3,596
  • 4
  • 24
  • 46
7
votes
1 answer

Fast way to load Excel spreadsheet

I'm using this code to load an excel spreadsheet containing only numbers. But it takes too long to load the whole file into a stringgrid, anyone know a faster way to do this? procedure sh1(SheetIndex:integer); Var Xlapp1, Sheet:Variant ; MaxRow,…
Ammadeux
  • 325
  • 1
  • 5
  • 15
7
votes
2 answers

Delphi: Loop through bytes in record

I have a record that contains multiple bytes/arrays of bytes: type TRdmPacket = record sc: byte; subSc: byte; msgLength: byte; destUID: array[0..5] of byte; srcUID: array[0..5] of byte; transNum: byte; portID: byte; …
1 2
3
44 45