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

Create an exact copy of TPanel on Delphi5

I have a TPanel pnlMain, where several dynamic TPanels are created (and pnlMain is their Parent) according to user actions, data validations, etc. Every panel contains one colored grid full of strings. Apart from panels, there are some open source…
smok1
  • 2,940
  • 26
  • 35
4
votes
1 answer

Error While using the CopyFile function

Hello I am using the CopyFile function in Delphi 5. But the file is not getting copied to destination. I am not able to see error also. What is the best way to know why CopyFile is failing? if CopyFile(source, dest, false) then …
Nalu
  • 1,107
  • 4
  • 20
  • 43
4
votes
3 answers

How to access characters of a WideString by index?

i have the following code snippit that won't compile: procedure Frob(const Grob: WideString); var s: WideString; begin s := Grob[7]+Grob[8]+Grob[5]+Grob[6]+Grob[3]+Grob[4]+Grob[1]+Grob[2]; ... end; Delphi5 complains Incompatible…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
4
votes
2 answers

How can i tell if i'm being called during DLL_PROCESS_DETACH after ExitProcess has been called?

i have a unit in Delphi that (has the option) to provide a single global object: var InternalThemeParkServices: TThemeParkServices; function ThemeParkServices: TThemeParkServices; begin if InternalThemeParkServices= nil then …
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
3
votes
2 answers

How to print TPanel contents?

I have TPanel. On this Panel there is an TImage descendant , few other panels with controls, etc. In fact, picture contains some diagram, while additional panels with labels are created during runtime to provide user with additional info. Recently I…
smok1
  • 2,940
  • 26
  • 35
3
votes
6 answers

How to create Telnet Client with Delphi 5

How do I create a Telnet Client inside of a Delphi 5 application?
BD.
  • 31
  • 1
  • 4
3
votes
1 answer

Sybase 12.5-BDE-ADO "where myColumn=null" failure

We have an old application that reads in SQL text files and sends them to Sybase ASE 12.51. Our legacy app was written in Delphi 5 and is using the BDE TQuery component for this process and accessing Sybase with the BDE SQLinks for Sybase. Pseudo…
Vector
  • 10,879
  • 12
  • 61
  • 101
3
votes
2 answers

delphi - TRadioGroup with items wrapable

I need a small example on Delphi 5 on how the text of the items present in a radiogroup to wrap text if needed. I resolved it in Delphi 2006 by accessing buttons property, but in D5 this property does not exist. LE: is there any solution except…
RBA
  • 12,337
  • 16
  • 79
  • 126
3
votes
2 answers

Any gotchas moving TServerSocket app from D5 to D2007?

I've done a brief Google around and found nothing but I feel I ought to ask. I'm not really expecting there to be anything, but would rather ask a question with no answers now than ask the question when it's all going wrong and discover that…
robsoft
  • 5,525
  • 4
  • 35
  • 47
3
votes
3 answers

Access JCL Debug information contained in executable?

Is there a way to access the Jedi Debug Information (JDBG) contained in an executable? Microsoft debugging tools have pointed me to a stack chain in my binary, and i want to know what methods/procedures/functions these offsets correspond…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
3
votes
7 answers

Delphi - Class TListView not found

We have a Delphi 5 application, that is built without runtime packages, dlls or external resources (i.e. a single executable). when we install it on a clients PC we get the following error messages: Class TListView not found or Class TImage not…
Re0sless
  • 10,678
  • 6
  • 51
  • 66
3
votes
3 answers

Migrate an app from Delphi to Silverlight C#

I have a legacy desktop accounting application developed using Delphi 5 & Paradox, which I intend to migrate to a web based Silverlight (for the sake of UX) application with SQL Server. Can anybody suggest a way to implement this quickly? I know…
Numan
  • 3,918
  • 4
  • 27
  • 44
3
votes
1 answer

Why can I call a function without comma separating the parameters in Delphi?

I was creating some functions in Delphi 5, and accidentally I tried to compile without commas separating a list of parameters, and oddly it worked completely normal. I tried isolating the issue as follows : program Project1; {$APPTYPE…
Rodolfo Donã Hosp
  • 1,037
  • 1
  • 11
  • 23
3
votes
1 answer

Why does CM_CONTROLLISTCHANGE performs for indirect parent controls?

I noticed that if I have a main container/parent (MainPanel), adding a child panel to it (ChildPanel), will perform CM_CONTROLLISTCHANGE on MainPanel (in TWinControl.InsertControl()) which is fine. But if I insert a child control (ChildButton) to…
zig
  • 4,524
  • 1
  • 24
  • 68
3
votes
1 answer

Delphi: How to move a class out of a unit;avoid circular references

Question: i want to split two classes out to their own file, while avoiding circular references. i have a unit with some classes (and some enumerations and constants). Anyone will recognize Click and Clack the tappet brothers: unit…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219