Questions tagged [delphi-6]

Delphi 6 is a specific version of Delphi. It was released in May 2001. Delphi 6 generates .Net code which differentiates it from the Delphi versions before or after it. Use this tag for issues related to development in Delphi, version 6.

Delphi 6 is a specific version of Delphi.

Delphi 6 codename is Iliad.

Delphi 6 introduced a number of new features for building and using industry-standard Web Services with full support for XML, SOAP and WSDL. Delphi 6 also included the CLX library, a cross-platform alternative to the Windows-only VCL, for targetting both Windows and Linux with a single codebase. Delphi 6 was available in three editions: Enterprise, Professional and Personal.

Delphi 6 was preceded by Delphi 5 and succeeded by Delphi 7. From August 2003 it was no longer officially supported.

253 questions
8
votes
4 answers

Free memory and nil in Delphi using a single function

I have a lot of memory allocations and the same number of FreeMem calls. What I didn't have though is a check before calling freemem to see if the pointer was nil, and a line after freeing to set the pointer to nil. I tried to create a function…
Daisetsu
  • 4,416
  • 9
  • 46
  • 68
8
votes
7 answers

Delphi - equivalent to C# DateTime.IsDaylightSavingTime() method needed

I need somehow to determine whether some TDateTime value is within the Daylight Saving Time range for my timezone or not (in C# the same thing does the DateTime.IsDaylightSavingTime() method). I know in Delphi there's no similar function, because…
Ondra C.
  • 2,302
  • 3
  • 31
  • 35
8
votes
2 answers

make a Delphi TPanel caption wrap

Is there a way to wrap the text in a TPanel.Caption in Delphi (in my case Delphi 6)?
wonderer
  • 3,337
  • 9
  • 45
  • 59
7
votes
2 answers

Proper handling of modal window "Minimize" behavior

I have the following issue: we're building a rather large application (win32, Delphi 6 Enterprise). In several part of the application, modal windows are used, usually containing the detail of the selection of the main window. We included a…
Stephane
  • 2,721
  • 3
  • 24
  • 39
7
votes
0 answers

Interacting with a coin changer using COM port

I have a coin changer MEI Cashflow E7900 and an MDB adapter to connect the device to a serial port. The shop which sold me the adapter also provided a test application, which is written in Delphi, compiled with Borland Delphi v6.0. It works…
Cracker
  • 774
  • 1
  • 13
  • 25
6
votes
1 answer

How do I get screen coordinates of the DBGrid cell

I want to show popup button or fancy message (with coloured background, etc) just under right-bottom corner of particular cell of the current row. For now I only figured how to get grid coordinates: x = DBGrid.DataSource.DataSet.RecNo y =…
Alexander Malakhov
  • 2,895
  • 1
  • 30
  • 51
6
votes
3 answers

Determining process virtual size using delphi

I have a Delphi program and I'm looking how this program could print its own "virtual size" in a log file, so that I can see when it used too much memory. How can I determine the "virtual size" using Delphi code? By "virtual size" I mean the value…
Name
  • 3,232
  • 4
  • 28
  • 33
6
votes
1 answer

Access "bad sites" list from embedded Chromium?

Embedded Chromium does not have the same protection as stand-alone Chrome does when it comes to warning users about "bad sites". Users of Chrome are familiar with the warning screen that comes up when you attempt to navigate to a web site that…
Robert Oschler
  • 13,520
  • 17
  • 74
  • 209
6
votes
2 answers

How to exclude DBGrid.Column.FieldName in .pot file

I made an application with Delphi 6. After that I extracted a .pot file with all the strings to translate. The problem is that there are strings that don't have to be tranlated, and if translated will generate problems. Une of this is…
6
votes
2 answers

Sorting ListView columns with arrows

I am using Delphi 6 and want to add the functionality of sorting a ListView, like it is done in Windows Explorer. In a first test, I have (quick&dirty) copied a few source codes from a few sources, and done some small adjustments: This is what I…
Daniel Marschall
  • 3,514
  • 2
  • 23
  • 54
6
votes
2 answers

TADOQuery Prepared

The TADOQuery component has "prepared" property the manual says that when prepared is set TRUE, the ADO 'prepares' the commmand, what this means?? Here is the manual explanation: Set Prepared before calling the Execute method to specify whether…
EProgrammerNotFound
  • 2,333
  • 4
  • 21
  • 54
5
votes
1 answer

How can I stop Chromium from creating a "WebViewHost" host window when launching the user's default web browser?

I am using the Chromium web browser control in my Delphi 6 application. Whenever the user clicks on a web link in the web page currently being displayed that is not on my primary web site I launch their default web browser with the URL, by opening…
Robert Oschler
  • 13,520
  • 17
  • 74
  • 209
5
votes
1 answer

DLL Breakpoints not being hit with "remote debug symbols" option, why and any security risks with those?

I had a big problem with breakpoints not being hit in a Delphi 6 DirectShow DLL. I would load the DLL (AX) in the IDE and run it with Graph Edit as the Host program and none of the breakpoints would trigger. I tried moving the FastMM4 DLL to the…
Robert Oschler
  • 13,520
  • 17
  • 74
  • 209
5
votes
1 answer

Transparent group box

I have inherited from TGroupBox of the Delphi native control and overriden its Paint method to draw rounded rectangle. procedure TclTransparentGroupBox.CreateParams(var params : TCreateParams); begin inherited; Params.ExStyle :=…
Rahul W
  • 833
  • 11
  • 24
5
votes
1 answer

Can not assign char array to string in Delphi 10.2

I have the following variable declarations: arrChar_1: array[0..2] of Char; arrChar_2: array[0..2] of Char; str: string; Then I made the assignment: str := arrChar_1 + arrChar_2; This assignment works normally on Delphi 6. But error occurs when I…
1
2
3
16 17