Questions tagged [delphi-2010]

Delphi 2010 is a specific version of Delphi. Delphi 2010 was released in August 2009, and is available as a standalone product or as part of RAD Studio 2010.

Delphi 2010 is a specific version of Delphi.

Delphi 2010 was released in August 2009, and is available as a standalone product or as part of RAD Studio 2010.

Delphi 2010 codename is Weaver.

Some of the major features of the Delphi 2010 release include:

  • The introduction of a new, rich RTTI (reflection) API that far exceeds the level of detail available in previous Delphi editions.
  • Full Windows 7 support at the compiler and standard library level.
  • Built-in VCL-level support for touch, multitouch and gesture input, even on earlier Windows versions without OS-level touch support.

Delphi 2010 was preceded by Delphi 2009 and succeeded by Delphi XE.

1635 questions
86
votes
2 answers

Is the compiler treatment of implicit interface variables documented?

I asked a similar question about implicit interface variables not so long ago. The source of this question was a bug in my code due to me not being aware of the existence of an implicit interface variable created by the compiler. This variable was…
David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
64
votes
5 answers

Selecting a directory with TOpenDialog

I'd really like to know the various ways I could select a directory with the TOpenDialog, whether it be downloading a new component or using what is provided by Delphi, but preferably using what is provided by Delphi. Prior to this, I have been…
ple103
  • 2,080
  • 6
  • 35
  • 50
62
votes
9 answers

How should I prepare my 32-bit Delphi programs for an eventual 64-bit compiler?

Possible Duplicate: How to also prepare for 64-bits when migrating to Delphi 2010 and Unicode Since I believe that 64bit Delphi compiler will appear soon, I am curious if anybody knows what kind of programs that are now 32bit will compile and…
Petra
  • 803
  • 1
  • 11
  • 12
55
votes
10 answers

Delphi 2006-2010 error: "Cannot create file C:\Users\Admin\AppData\Local\Temp\EditorLineEnds.ttr"

I am getting an error after installing Delphi 2007 (Edit: This problem occurs in all Delphi versions from 2006 to 2010) that I can not figure out and have never seen before. After restarting I can launch the program without any problems, but if I…
M Schenkel
  • 6,294
  • 12
  • 62
  • 107
43
votes
7 answers

Why should I care about RTTI in Delphi?

I've heard a lot about the new/improved RTTI capabilities of Delphi 2010, but I must admit my ignorance...I don't understand it. I know every version of Delphi has supported RTTI...and I know that RTTI (Runtime Type Information) allows me to access…
Mick
  • 13,248
  • 9
  • 69
  • 119
37
votes
6 answers

How hard is it to migrate a project from Delphi 7 to Delphi XE?

Our company have a software that has been in development for over 10 years, so there are some really dated stuff in there. It's still quite functional and everything, but I see the new features on Delphi XE and it makes me want to switch. Problem is…
Rosenberg
  • 2,424
  • 5
  • 33
  • 56
37
votes
8 answers

TThread.resume is deprecated in Delphi-2010 what should be used in place?

In my multithread application I use TThread.suspend and TThread.resume Since moving my application to Delphi 2010 I get the following warring message [DCC Warning] xxx.pas(277): W1000 Symbol ‘Resume’ is deprecated If Resume is deprecated what…
Charles Faiga
  • 11,665
  • 25
  • 102
  • 139
36
votes
17 answers

What components and IDE add-ins do you install with Delphi?

After a clean install of Delphi, what components and IDE add-ins do you make certain that you install? What's your Delphi "rig"? Here's what I install after a clean installation: Delphi 2007 / Delphi 2010 JCL / JVCL - JEDI Code Library and JEDI…
Mick
  • 13,248
  • 9
  • 69
  • 119
34
votes
1 answer

What is TMonitor in Delphi System unit good for?

After reading the articles "Simmering Unicode, bring DPL to a boil" and "Simmering Unicode, bring DPL to a boil (Part 2)" of "The Oracle at Delphi" (Allen Bauer), Oracle is all I understand :) The article mentions Delphi Parallel Library (DPL), lock…
mjn
  • 36,362
  • 28
  • 176
  • 378
34
votes
7 answers

Getting size of a file in Delphi 2010 or later?

Delphi 2010 has a nice set of new file access functions in IOUtils.pas (I especially like the UTC versions of the date-related functions). What I miss so far is something like TFile.GetSize (const Path : String) What is the Delphi 2010-way to get…
jpfollenius
  • 16,456
  • 10
  • 90
  • 156
32
votes
5 answers

What is the fastest XML Parser available for Delphi?

We have reasonably large XML strings which we currently parse using MSXML2 I have just tried using MSXML6 hoping for a speed improvement and have got nothing! We currently create a lot of DOM Documents and I guess there may be some overhead in…
Paul
  • 2,773
  • 7
  • 41
  • 96
32
votes
1 answer

Which language elements can be annotated using attributes language feature of Delphi?

Delphi 2010 introduced custom attributes which can be added to type declarations and methods. For which language elements can a custom attribute be used? The examples which I have found so far include class declarations, fields and methods. (And…
mjn
  • 36,362
  • 28
  • 176
  • 378
27
votes
2 answers

How to "automatically" remove unused units from uses clause?

Does anyone know about a utility, that can automatically detect and remove unrequired units from the uses clause? Preferably it .. can be run against a unit and/or a project is free and works with Delphi 2010 Thanks in advance.
rhazell
  • 285
  • 1
  • 3
  • 5
27
votes
10 answers

Free Encryption library for Delphi

I'm looking for a free and up to date encryption library for Delphi 2010 that implements RSA and AES (Rijndael). I want a free library because I plan to write and publish some sample code that will use it. A Delphi 2010 version of TurboPower LockBox…
Bruce McGee
  • 15,076
  • 6
  • 55
  • 70
26
votes
1 answer

How to change the pixelformat of a TWICImage in Delphi 2010

I have a TWicImage, IWicBitmap and a IWicBitmapSource that works nicely to display all the supported graphic fileformats, allows Rotation, Flip Horizontal, Flip Vertical, Scaleing and Clipping. All of these seem to work well and I can get the…
Bill
  • 2,993
  • 5
  • 37
  • 71
1
2 3
99 100