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
25
votes
4 answers

How to save a string to a .txt file in Delphi?

I need to make a program that generates a password that is saved in a text file format in a specific destination I set and the user needs to open the .txt to get the password to 'unlock' another program. I have already got the code to generate the…
Nyt Ryda
  • 335
  • 2
  • 4
  • 9
23
votes
4 answers

In Delphi 7, how do I escape a percent sign (%) in the Format function?

I want to do something like this: SQL.Text := Format('select foo from bar where baz like ''%s%''',[SearchTerm]); But Format doesn't like that last '%', of course. So how can I escape it? \%? %%? Or do I have to do this: SQL.Text := Format('select…
Blorgbeard
  • 101,031
  • 48
  • 228
  • 272
22
votes
10 answers

Delphi isNumber

Is there a method in Delphi to check if a string is a number without raising an exception? its for int parsing. and an exception will raise if one use the try StrToInt(s); except //exception handling end;
none
  • 4,669
  • 14
  • 62
  • 102
22
votes
1 answer

Recommended PE header settings for Delphi 7 application running on terminal server?

While investigating external exception C0000006 errors reported by some users running a Delphi 7 application on a Windows 2008 terminal server, I found several questions on this and related issues already. I'm wondering if anyone has a definitive…
dougwoodrow
  • 1,111
  • 12
  • 22
20
votes
2 answers

Is there a way to update a field in a record knowing the field name and value

Given a Record: MyRecord = record Company: string; Address: string; NumberOfEmplyees: integer; can you write a function call like function UpdateField(var FieldName: string; FieldValue: variant): bool; so that: UpdateField('Company',…
Charles
  • 315
  • 2
  • 9
20
votes
2 answers

How to use variant arrays in Delphi

I have two Delphi7 programs: a COM automation server (EXE) and the other program which is using the automation server. I need to pass an array of bytes from one program to the other. After some searching I've found that using variant arrays is the…
Steve
  • 2,510
  • 4
  • 34
  • 53
20
votes
5 answers

How to work with 0-based strings in a backwards compatible way since Delphi XE5?

I'm trying to convert my current Delphi 7 Win32 code to Delphi XE5 Android with minimal changes, so that my project can be cross-compiled to Win32 from a range of Delphi versions and Android from XE5. Starting from XE5 there are breaking changes in…
Kromster
  • 7,181
  • 7
  • 63
  • 111
19
votes
2 answers

safe(st) way rename a delphi Project

Im sure this will be a simple one but have a project that started as a test. When it was created it was saved as "Project2.dpr" Now the test is no longer a 'test', i would like to change the projects name to something more meaningful. whats the…
Christopher Chase
  • 2,840
  • 6
  • 36
  • 57
18
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
  • 16,132
  • 33
  • 143
  • 245
17
votes
1 answer

Native hints/tooltips under Vista/7 with Delphi 7?

I am trying to reproduce native hints/tooltips under Windows Vista/7 using Delphi7. I've found a nice component which could solve the issue, but it only partially works. TListView components' tooltips aren't shown. The screen is blinking for a sec…
Steve
  • 2,510
  • 4
  • 34
  • 53
17
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
  • 24,504
  • 36
  • 94
  • 124
17
votes
4 answers

Should I use String instead of TFilename?

When passing filename parameters to procedures/functions, should I use TFilename or String. If there is a difference, what is it, and what are then potential ramifications if using a String? e.g. procedure TForm1.OpenFile(const AFilename :…
Simon
  • 9,197
  • 13
  • 72
  • 115
16
votes
4 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
16
votes
2 answers

Detect if Mouse button already pressed before form shows

If a mouse button is pressed and a window is shown that window will receive the MouseUp event when the mouse button is released. Is it possible to detect, once the window is shown, whether or not a mouse button is already pressed?
RobS
  • 3,807
  • 27
  • 34
16
votes
2 answers

Detecting IE Proxy settings and using with TIdHTTP

How do I set TIdHTTP to use IE proxy configuration? It should be compatible with XP/Vista/Win7 and reliable.
ZigiZ
  • 2,480
  • 4
  • 25
  • 41