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
1 answer

Exception causing a leap in code

I am using D5 and Synaps with OpenSSL and it is working great. I am trying to handle crashes so have deliberately entered bad data, one try at a time. So far I have handled the induced crashes OK, but I just changed the login Password and tried to…
user2175495
-1
votes
1 answer

thread onterminate - help writing the event

Using Delphi-v5 and a component (TmFileScan -- thanks Mats) that runs in a thread and I want to be able to Terminate the thread gracefully. After a lot of searching and reading here, I have been able to Terminate it but I need an Event to handle…
user2373289
  • 51
  • 1
  • 2
  • 5
-1
votes
1 answer

Is there a way to temporarily turn off exception dialogs in the Delphi 5 IDE without implementing an own exception handler?

I've got a very old Delphi 5 project where a bug needs to be fixed. It loads all right into the Delphi 5 IDE, but on execution I get a lot of Indy Exceptions that ARE handled correctly by the program like "connection closed gracefully". These are…
Casady
  • 1,426
  • 3
  • 19
  • 39
-1
votes
1 answer

CreateBlobStream, Stream Size

My Code: stream := qry.CreateBlobStream(qry.FieldByName('aaa'), bmRead); The record in aaa is actually bigger than the stream's size,which is always 32786.Why?
EdiJXu
  • 3
  • 2
-2
votes
1 answer

Migrating Delphi5 components from Win2000 to Win7(64bit)

Firstly I can't really update the version because I would have to re-write my software which uses the dated components. I initially had alot of success by re-installing the packages (around 40) to the fresh D5 install on the new Win7 machine. If it…
notidaho
  • 588
  • 8
  • 28
-2
votes
1 answer

Borland Delphi 5 and 7: exceptions stop to work

I faced very strange behavior: after some point in the code exceptions stop to work. This is my test function: procedure vmDbg_TestExceptionsHandling(AMarker: string); var i: integer; begin i := UVmDll.DebugPoint(9002, PChar(AMarker)); //…
dmitry_bond
  • 378
  • 1
  • 3
  • 15
-2
votes
1 answer

How to convert hexadecimal data (stored in a string variable) to an integer value

Edit (abstract) I tried to interpret Char/String data as Byte, 4 bytes at a time. This was because I could only get TComport/TDatapacket to interpret streamed data as String, not as any other data type. I still don't know how to get the Read method…
tionichm
  • 163
  • 10
-2
votes
2 answers

Set Delphi 5 Form on monitor where previous Form was present in dual monitor system

Delphi 5 does not have a built-in function to set a Form on a monitor where a previous Form is opened in the case of dual monitors. For this, I have imported windows dll. I searched for this and found MonitorFromWindow() and MonitorFromPoint(). I…
-2
votes
1 answer

How to get correct DateSeparator in Delphi 5?

I am trying to get the correct DateSeparator when the system locale is set to Cenz Republic. The current date is formatted as 9.3.2017, but DateSeparator is always '/' instead of '.'. What can I do to get the correct date separator?
-2
votes
2 answers

In delphi, how do you embed Excel in a form and show excel components on the component pallette?

Years ago I remember installing excel and office components onto the component palette in delphi 5. It was either through activeX or COM, or a typelib, there was some way to install the components. the components I think you could drag and drop…
Another Prog
  • 841
  • 13
  • 19
-2
votes
1 answer

Mouse.CursorPos not working

I want the user to be able to set the mouse cursor position over an item in a TDBGrid of their choice at start up. I have a Popup menu, and CursorPoint is a global TPoint the X and Y of which are saved to an .ini file and loaded at start up. But…
user2175495
-3
votes
1 answer

LoadFromStream doesn't appear to work in Delphi 5

I'm using Delphi 5 Enterprise because that's what the program I'm working with was written in. I have written a procedure which saves bitmaps to an Access database quite happily. Now I want to be able to retrieve the bitmaps. Saving the bitmaps, I…
Capfka
  • 353
  • 2
  • 6
  • 15
-3
votes
1 answer

Error connecting with SSL when posting using Indy

I'm trying to post on a web service via TIdHTTP (Indy) using Delphi 5, and whenever i call the post method, it returns an "Error connecting with SSL error" exception. This is the code i'm trying to run FHandle :=…
Rodolfo Donã Hosp
  • 1,037
  • 1
  • 11
  • 23
-3
votes
1 answer

Delphi supported version

I have some applications which built using Delphi 5.0. Currently as far I know Delphi 5.0 is no more supported by Embarcadero. I am planning to upgrade my application to next supported Delphi version. I am trying to find out if Delphi 7.0 is…
Nalu
  • 1,107
  • 4
  • 20
  • 43
-3
votes
1 answer

Delphi: Sending a keyboard code to a TEdit control

Okay, I have an on-screen keypad made up of a panel with buttons with the kind of functionality you would expect 0 .. 9, Delete, BkSpace and Enter. It's an application for a touchscreen system. The values entered by "pressing" the keys are shown…
Capfka
  • 353
  • 2
  • 6
  • 15
1 2 3
26
27