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

3088 questions
16
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
  • 5,038
  • 8
  • 44
  • 61
16
votes
6 answers

delphi - strip out all non standard text characers from string

I need to strip out all non standard text characers from a string. I need remove all non ascii and control characters (except line feeds/carriage returns).
IElite
  • 1,818
  • 9
  • 39
  • 64
16
votes
3 answers

In Delphi, is OutputDebugString thread safe?

Is OutputDebugString(PAnsiChar('')); thread safe? I/we have been using it in threads for debugging, and it never occurred to me if I should be doing it a different way. (Delphi 7)
Christopher Chase
  • 2,840
  • 6
  • 36
  • 57
16
votes
4 answers

How to Free an Interface Object (Delphi 7)

In some part of my application, I have the situation where I receive an interface which I know to be an object, albeit I don't know the exact class. I have to store that object in an interface-type variable. Eventually, I might receive another…
Pablo Venturino
  • 5,208
  • 5
  • 33
  • 41
16
votes
4 answers

Delphi 7 vista / windows 7 manifest

Would anyone have an example of a manifest file for Delphi 7 which allows apps to run as administrator on Windows XP / Vista / 7? Running an application with this feature usually leads to a User Account Control (UAC) dialog asking for privileged…
colin
  • 2,983
  • 6
  • 41
  • 49
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
  • 828
  • 10
  • 23
16
votes
15 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
  • 686
  • 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
  • 26,858
  • 31
  • 155
  • 327
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,840
  • 6
  • 36
  • 57
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,419
  • 9
  • 37
  • 67
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,524
  • 1
  • 24
  • 68
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,625
  • 7
  • 35
  • 57
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,242
  • 2
  • 12
  • 25
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
  • 7,595
  • 10
  • 53
  • 108
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,100
  • 4
  • 12
  • 29