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.

269 questions
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
  • 26
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…
5
votes
3 answers

Delphi 6 - Bugs disappear when I compile multiple times

My Delphi installation has been going downhill for the past few months. It seems though that every so often when I build a release it has strange errors in it which are resolved if I build, then compile, then build, compile, etc. I've talked to…
Daisetsu
  • 4,846
  • 11
  • 50
  • 70
5
votes
1 answer

Why does TEdit only shows text with length equals or less than 37440 characters?

If you do this: Edit1.Text := StringOfChar('X', 37440); It will show the text, however if you do this: Edit1.Text := StringOfChar('X', 37441); The text will not appear. Does anybody knows why? If this is an error, there is another way of…
EProgrammerNotFound
  • 2,403
  • 4
  • 28
  • 59
5
votes
1 answer

TStringList behavior with non ANSI files

In my application, when I want import a file, i use TStringList. But, when someone export data from Excel, the file encoding is UCS-2 Little Endian, and TStringList can't read the data. There is any way to validate this situation, identify the text…
EProgrammerNotFound
  • 2,403
  • 4
  • 28
  • 59
5
votes
2 answers

Need to Identify the Database name in an ODBC DSN connected application

I have a Delphi 6 application that uses an ODBC DSN to connect to target databases. I want to include text that lists the name of the Database the DSN is connected to. I tried using the SQL command db_name() but only received a nil in response…
ChargerIIC
  • 1,620
  • 1
  • 33
  • 47
5
votes
1 answer

Why does assigning a NIL array to a Variant cause a non-empty array to be returned in Delphi 6?

Consider the code below which compiles and runs without error in Delphi 6. When I recover the dynamic string array, instead of seeing an empty array in sa, I see an array with a length of 1 with a single element containing an empty string. Why is…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
5
votes
1 answer

How to get elements by name in Delphi Chromium Embedded?

To get a particular DOM node embedded in the current web document from a TChromium instance, using its ID, you use ICefDomDocument.getElementById(). But how do you find elements by the NAME attribute? Javascript has the…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
4
votes
2 answers

How to stop a Delphi 6 COM server application re-registering with COM at startup

I have a set of legacy Delphi 6 aplications that are out of process COM servers. In attempting to run these programs as a normal domain user on Windows I see them when running up (without any command line arguments or switches) attempting to update…
Pete Stensønes
  • 5,595
  • 2
  • 39
  • 62
4
votes
1 answer

Rave Reports with Delphi 2010

We are trying to migrate Delphi 6 to Delphi 2010 with Rave Reports. Delphi 6 was using TReportPrinter to print the results. We don't have that Rave component in Delphi 2010. Could you please guide how to proceed and which component of Rave 7.7 we…
SSE
  • 445
  • 2
  • 10
  • 29
4
votes
2 answers

Const function in Delphi

In the Delphi code I am looking at I've found the following set of lines: const function1: function(const S: String): String = SomeVariable1; function2: function(const S: String): String = SomeVariable2; What is this doing? I mean, not the…
mnuzzo
  • 3,529
  • 4
  • 26
  • 29
4
votes
2 answers

Importing .net dll to Delphi 6 loses information

I have a .net dll which I could import to Delphi 6. But it loses some information. I have a demo application in VB.net to use this dll which shows 2 interfaces called IRedeemTransactionItemBundle and ITransactionItemBundle. In Visual Studio 2008 I…
sinu
  • 71
  • 1
  • 4
4
votes
1 answer

Why does a centered MessageDlg create exceptions?

Delphi 6. I implemented a MessageDlg centered on the owner form as suggested by @David Heffernan on january 6 2011. The original question from 2011 is here: How to make MessageDlg centered on owner form. The centered dialog works once. After the…
AndersJ
  • 411
  • 1
  • 3
  • 15
4
votes
4 answers

How do I implement Internet accessible system with Delphi?

I am about to start working on a new system which will need to support multiple users and potentially allow the database to be accessed over the Internet. The system will be win32, not web based, the database will just be in an office and accessible…
Paul
  • 41
  • 2
4
votes
1 answer

How to make a single line bold in a RichEdit?

How can I get one specific line to be bold in a RichEdit?
User049
  • 127
  • 1
  • 11
1 2
3
17 18