Questions tagged [delphi-7]

Delphi 7, released in August 2002, is a version of Delphi for Windows 32 bit.

Delphi 7 (codename: Aurora) is a specific version of Delphi. Always use the tag alongside this tag.

It was released in August 2002, became the standard version used by more Delphi developers than any other single version. It is one of the most successful IDEs created by Borland because of its stability, speed and low hardware requirements, and remained in active use as of 2011. Delphi 7 added support for Windows XP Themes, and added more support for building Web applications. It was the last version of Delphi which could be used without mandatory software activation.

Its release immediately preceded a period of turbulence in the history of Borland/CodeGear/Embarcadero that, combined with Delphi 7's robustness, contributed to its widespread use and longevity. In this regard, Delphi 7 can be considered the counterpart to MSVC6.

Delphi 7 introduced full support for XP themes, probably the most significant enhancement over Delphi 6.

Delphi 7 was preceded by Delphi 6 and succeeded by Delphi 8 (Codename: Octane).

Editions

Borland Delphi 7 Studio was released in four different editions:

  • Architect
  • Enterprise
  • Professional
  • Personal

References

2996 questions
16
votes
1 answer

Is a themed Main Menu with icons possible in Delphi?

I'm using Delphi 7. Testing this on Windows 7. Drop a TMainMenu and a TImageList on a form. Add some menus to the TMainMenu and some images to the TImageList. When the TImageList is NOT assigned to the TMainMenu's Images property, the application…
jedivader
  • 788
  • 9
  • 19
16
votes
1 answer

Download a File from internet programmatically with an Progress event using Delphi and Indy

I need a way to download a file from the Internet using Delphi via HTTP, Which include an Progress event, I'm looking for a method which uses the Indy components. I am using Delphi 7.
Salvador
  • 15,053
  • 31
  • 128
  • 232
16
votes
6 answers

How do I compile my Delphi project on the command line?

Has anyone ever managed to compile their Delphi 6 & 7 (NOT any Delphi > 7 ) projects using the command line? All the instructions I see are not very clear on what exactly needs to go where! Am looking for step-by-step kind of instructions. Answers…
gath
  • 21,746
  • 35
  • 91
  • 120
16
votes
14 answers

Fatal Error: Cannot create output file "project1.exe"

So for some time now I keep having this problem: on windows 7 (64bit), with Delphi 7 and Delphi XE2, if from within the IDE, I compile a program, run it, stop it, change it and rerun it I get this error message: [Fatal Error] Cannot create output…
Marck
  • 666
  • 1
  • 5
  • 12
15
votes
6 answers

How to detect "dangling pointers" if "Assigned()" can't do it?

In another question, I found out that the Assigned() function is identical to Pointer <> nil. It has always been my understanding that Assigned() was detecting these dangling pointers, but now I've learned it does not. Dangling Pointers are those…
Jerry Dodge
  • 25,720
  • 28
  • 139
  • 301
15
votes
1 answer

Delphi: Canceling a TDataSet.Post in an OnBeforePost Event

On our main data entry screen, we have an OK/Cancel dialog in the OnBeforePost event. OK lets things take their course Cancel right now does a Dataset.Cancel; Which does what it's meant to, roll back any changes and puts the dataset into browse…
Christopher Chase
  • 2,728
  • 5
  • 34
  • 54
15
votes
6 answers

How to resize a picture?

I have image (500x500) but I need to resize it to 200x200 and paint it on TImage. How to achieve such result? NoteI know about Stretch property in TImage, but I want to resize the image programmatically.
Little Helper
  • 2,337
  • 7
  • 35
  • 64
15
votes
3 answers

How do I show progress in status/task bar button using Delphi 7?

If you copy files under Windows 7, you will see the progress of the copy in a sort of progress bar begin displayed in the status or task bar button of the application. Can this be achieved using Delphi 7 ? I have some lengthy operation which would…
Edelcom
  • 4,928
  • 8
  • 42
  • 59
15
votes
2 answers

What is the equivalent of Math.Round() with MidpointRounding.AwayFromZero in Delphi?

How do I use c# similar Math.Round with MidpointRounding.AwayFromZero in Delphi? What will be the equivalent of: double d = 2.125; Console.WriteLine(Math.Round(d, 2, MidpointRounding.AwayFromZero)); Output: 2.13 In Delphi?
zig
  • 4,284
  • 1
  • 17
  • 53
15
votes
1 answer

How can I read details of file?

How can I read details of an exe file like File Version, Product Version and anything else stored in Details tab in Properties window of that file? Thanks.
Armin Taghavizad
  • 1,523
  • 5
  • 30
  • 54
15
votes
5 answers

in Delphi7, How can I retrieve hard disk unique serial number?

Hi I want to retrieve HDD unique (hardware) serial number. I use some functions but in Windows Seven or Vista they don't work correctly because of admin right. Is it possible retrieve it without run as Administrator?
Amin
  • 1,202
  • 2
  • 12
  • 24
15
votes
2 answers

Delphi: Copy FileStream to MemoryStream

I want to copy a part of a FileStream to a MemoryStream. FileStream.Write(Pointer(MemoryStream)^, MemoryStream.Size); FileStream.Read(Pointer(MemoryStream)^, count); Is that right? It isn't working for me.
p.magalhaes
  • 5,706
  • 7
  • 42
  • 84
15
votes
4 answers

Delphi XE3 EXE file size 25 times larger than Dephi 7

As a test I decided to create a simple "Hello world" app in Delphi using Delphi 4, 5, 6, 7, 2005, 2010 and XE3. The app is nothing more than a TForm, a TButton with an OnClick event that calls ShowMessage('Hello world'). Below are the results of…
user1527613
  • 1,062
  • 1
  • 12
  • 29
14
votes
5 answers

Multiple Delphi versions on the same machine

What we would like to do is install multiple Delphi versions on the same machine, those versions are D7, D2010 and DXE. We had previously D7 and D2010, worked OK together(had to duplicate components for D7 and D2010 because of special conditions for…
user497849
14
votes
2 answers

Indy 10 Http Server sample

I need a simple code sample for Indy 10 Http Server When request (post) simply displays it Is there an Indy 9 sample for this? Thanks
SridharanS
  • 157
  • 1
  • 1
  • 3