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
11
votes
2 answers

How to add persistence to the Delphi Docking example

Although I realise that in addition to the included Delphi docking demo there are other and better docking libraries available such as the Developer Express Library and the JVCL Docking Library, but for a specific demonstration project I am…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
10
votes
3 answers

Is it a bug that attempts to compile this code results in IDE terminating or the compiler failing to run?

Beware of Exit command usage in inline functions! I have been using Delphi XE3 here. Symptom In certain circumstances, when a call is made to an inline function that contains Exit command, and the return value of the inline function is used directly…
Astaroth
  • 2,241
  • 18
  • 35
10
votes
4 answers

Is it a good idea to use initialization sections for module registration?

I am looking for a good solution for a decentralized module registration. I do not want a single unit that uses all module units of the project, but I would rather like to let the module units register themselves. The only solution I can think of is…
Jens Mühlenhoff
  • 14,565
  • 6
  • 56
  • 113
10
votes
4 answers

How do I reliably wait on a thread that has just been created?

Consider the following program: program TThreadBug; {$APPTYPE CONSOLE} uses SysUtils, Classes, Windows; type TMyThread = class(TThread) protected procedure Execute; override; end; procedure TMyThread.Execute; var i: Integer; begin …
David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
9
votes
2 answers

How to find out which port uses a process?

I would like to know how I can find out which ports a program / process uses. I want to know the used ports from one process and write then in a label. Is there a unit or function that is available?
Hidden
  • 3,598
  • 4
  • 34
  • 57
9
votes
1 answer

Do generics in Delphi cause performance bottlenecks?

Recently i have been developing an application and wanted to have a collections of several types. I don't want to declare and implement a new collection class for it's type. So, i thought of going with generics, but wasn't sure about the performance…
Rahul W
  • 833
  • 11
  • 26
9
votes
2 answers

What is the minimal agent install footprint for Delphi build automation?

When creating a build server that does clean version control check-outs and full system builds of everything in a given source repository or project, what is the minimum required Delphi install footprint for XE3 Win32/Win64 projects? (Core system -…
Darian Miller
  • 7,808
  • 3
  • 43
  • 62
8
votes
3 answers

Explicitly expressing ownership in Delphi

I'm primarily a C++ programmer, and I've grown used to having class templates like std::unique_ptr, std::shared_ptr, etc for expressing ownership of my objects. Does Delphi have anything that is similar in its standard library? Are there any…
bstamour
  • 7,746
  • 1
  • 26
  • 39
8
votes
1 answer

Why Copy function behaves differently in 64-bit Delphi XE3?

In Delphi XE3, the Copy function can be used for string type with or without the third parameter. For example, s := '1234567890'; Writeln(Copy(s, 2)); The above prints 234567890 if compiled for 32-bit EXE. However when the same code compiles to…
justyy
  • 5,831
  • 4
  • 40
  • 73
8
votes
1 answer

Delphi XE3 File Not Found GIFImage.dcu

My first question here - this is new install of Delphi XE3. I thought animated GIF support was now built in to Delphi (since 2007?). When I drop a TImage on my form, all is good until I populate the Picture field with an animated GIF file. As soon…
jmroyalty
  • 2,527
  • 1
  • 17
  • 21
8
votes
1 answer

How to force Firemonkey to use a DirectX 9 context in Delphi XE3?

The main TForm3D window of Firemonkey application in Delphi X3 has a Context:TContext3D which gives me access to the current device used. In my case with Windows7 64, it always shows a TDX10Context object from FMX.Context.DX10.pas. I have not…
piXelicidio
  • 187
  • 9
8
votes
4 answers

What is the best way to install components?

Installing components under Delphi XE3 is a nightmare. First I need to add source files to Tools -> Options -> Library then I need to find a normal package and compile it finally I need to find design time package and install it. This is just…
Tom
  • 2,962
  • 3
  • 39
  • 69
8
votes
2 answers

Where do I find the bpl file after I compile a package?

I want to create *.bpl file but I am failing to do so. Specifically, I am trying to make JEDI plugins, but I have tried an empty pure Delphi package, too. If I create a new package in Delphi XE3, I get an empty unit - if I "make" this project called…
Imanuel
  • 3,596
  • 4
  • 24
  • 46
8
votes
4 answers

Associative array in Delphi , array with string key is possible?

If you work with php you can see the php have associative array (or array width string key) in programing lang. For example: $server['hostname'] = 'localhost'; $server['database'] = 'test'; $server['username'] = 'root'; $server['password'] = …
A1Gard
  • 4,070
  • 4
  • 31
  • 55
8
votes
3 answers

Is DataSnap Optimized for responding to more than 1k users at the same time?

We want to start a big multi-tier application. The server side application must respond to more than 1000 users at the same time. We want to create server application by 64 bit compiler and client side with 32 bit. In this case we don't know…
Shaahin Ashayeri
  • 918
  • 2
  • 13
  • 30
1
2
3
44 45