Questions tagged [delphi-5]

Delphi 5 is a specific version of Delphi. It was released in August 1999. Use this tag for issues related to development in Delphi, version 5.

Delphi 5 is a specific version of Delphi.

Delphi 5 codename is Argus.

Delphi 5 was preceded by Delphi 4 and succeeded by Delphi 6.

395 questions
-1
votes
2 answers

Is it possible to display a form before a component/form is destroyed?

I am working in Delphi5 I would like to have a custom form appear before a component is destroyed at runtime of a project. Is it possible to do this from within a Custom Component? In other words, can I display a form before the custom component is…
user1202134
  • 233
  • 2
  • 10
-1
votes
1 answer

Components not being found by FindComponent()

I have created a login form which holds buttons corresponding to users' names held in an Access file. The buttons are created in the OnCreate event because I don't want to have to create them each time the screen is shown. The buttons display as…
Capfka
  • 353
  • 2
  • 6
  • 15
-1
votes
1 answer

Delphi 5 TStringList NameValueSeparator

I have a text file with key value pairs like this user1|password1 user2|password2 user3|password3 In delphi 10 I use this function to get the key value function getKeyByName(fileName, key: string) : string; var dataFile : TStringList; begin …
Rober.Ya
  • 65
  • 3
  • 12
-1
votes
1 answer

Using a manifest to handle UAC in Delphi 5 causes a blank window to be created

I'm using Delphi 5 running on Windows 7. An old application we want to update now has issues with UAC. We are able to get around it by changing the EnableLUA setting in the registry, but that's NOT an ideal solution. I'm trying to elevate it and…
Keila
  • 113
  • 6
-1
votes
1 answer

TIdX509 calculates cert fingerprint 16 bytes instead of 20

I have a little program in java and in delphi 5, both of them were design to handle certificate. In delphi i'm using an indy 9 component: TIdX509, in this object there is a method to get the Fingerprint as String, i didn't find anywhere how does…
Gustavo
  • 126
  • 9
-1
votes
1 answer

Compile in Delphi 5

I have a little problem when I compile project in D5. Open existing project. Compile it (compile eg 13k lines). Compile once again with no change in source. Now compiler has no changes so count of compiled lines should be smaller, but lines count…
Weles
  • 19
  • 1
-1
votes
1 answer

Tchart, weird plotting when zooming

So I have this fine legacy Delphi 5 project with a tchart with vertical bars along a datetime bottomaxis. It works very fine. Now I want to add up to three horizontal "warning"-lines, each with up to three togglable labels. The idea is to show three…
-1
votes
2 answers

Delphi interface delegation implements cannot call directly

I know this is old and I am using Delphi 5. Not sure if it is the same in later version of Delphi. I found that if an object delegate its interface implementation to another object, the original object canonot call the interfaced method directly,…
Gerald Me
  • 107
  • 1
  • 2
  • 8
-1
votes
1 answer

windows OpenDialog open at background of other forms of application in Delphi, How to bring it at front?

I am using OpenDialog in Delphi 5. My problem is it opens at the back of My Application forms. I set My application form at the TOP using following code if UpperCase(SmSession.ApplicationName) = 'MYAPP' then begin Params.ExStyle := Params.ExStyle…
-1
votes
2 answers

What could cause an unexpected 'File In Use' Error

I have a Delphi5 application which exports a file (.pdf) and a very small metadata file to a network location. The intention is that these 2 files should be processed, and then removed, by a polling .NET application. My approach is to Write the…
Hugh Jones
  • 2,706
  • 19
  • 30
-1
votes
1 answer

Cannot find jedi within my Delphi 5 file using XE6

I have a multi-file project that was created in Delphi5 and I am attempting to compile in Delphi XE6. In my DSPack.pas file I get the error: "'jedi.inc' could not be found..." related to the code line: {$I jedi.inc} ... there are also many,…
Brent
  • 55
  • 1
  • 7
-1
votes
3 answers

Good way of enabling buttons

I have an application that has 15 Buttons on a form. Each button can be Enabled as required and there are no set configurations so there could dozens of combinations. To set Btnxxx.Enabled, I am currently using, procedure TForm1.SetButtons(aStr :…
user2175495
-1
votes
1 answer

Delphi Exe throws Exception code: 0xc0000005 only on Windows 7 64 Bit

I have one executable. Exe is prepared from Delphi version 5 as code is written in Delphi. This exe working successfully on Windows XP, Windows 7 with 32 bit operating system. But same executable not working on Windows 7 with 64 bit operating…
Shalabh
  • 19
  • 1
  • 5
-1
votes
3 answers

FileGetDate works some times, thoughts?

Some files this works with and others it does not. var Src : integer; FileDate : LongInt; begin Src:=FileOpen(SrcPath,fmOpenRead); FileDate:=FileGetDate(Src); // Crash here with FileDate = -1 ... FileSetDate(Dest,FileDate); I have…
-1
votes
1 answer

Recommended Future-Proofed Font for End-User Applications

I have a number of applications which use the default font - MS Sans Serif. On new machines this font is looking increasingly dated and wiry. I switched to Ms Reference San Serif which looks bolder and crisper, however on many client PCs this…
notidaho
  • 588
  • 8
  • 28