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

ShowModal on onAccept of TTCPServer causes the application to hang?

I'm programing one network application in delphi 6 using TTCPServer. At OnAccept event of this component I call showmodal for another form. This cause to hang the main form. I think that it is because of threads but I do not know how to showmodal…
hamid
  • 852
  • 11
  • 27
2
votes
4 answers

C# and Delphi integration

Currently we have couple projects that are written in Delphi 6. Because of specific components that use in these projects (components also written in Delphi 6) it is not easy to convert it in newer version. As I prefer .NET development and our new…
Nemanja Vujacic
  • 925
  • 5
  • 14
  • 25
2
votes
0 answers

Is this Delphi 6 code for using a page file backed shared memory mapped file correct?

I have a Delphi 6 application and also a DLL that share a memory mapped file to transfer data between them. I know soft page faults are a normal side effect of memory mapped files, but I am getting a lot more than I think should (high PF Delta…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
2
votes
2 answers

Why does the compiler warn the return value of function 'frog' might be undefined?

This unit generates a warning that the value of frog might be undefined even though result is explicity set: unit homePage; interface function frog(const ts, fs: string; ci: integer; const ss: string; sb, sk, sr, ay, h: integer): string; …
2
votes
1 answer

Fast access to a (sorted) TList

My project (running on Delphi 6!) requires a list of memory allocations (TMemoryAllocation) which I store within an object that also holds the information about the size of the allocation (FSize) and if the allocation is in use or free (FUsed). I…
Fotis MC
  • 323
  • 1
  • 2
  • 12
2
votes
1 answer

Converting TurboPower Lockbox 2 to LockBox 3

I am currently in the process of converting a project (that uses encryption) from Delphi 6 to XE. This project uses the old Delphi Encryption Compendium which does not work in XE. So I figured that I would swap from that component set to LockBox.…
samanne
  • 309
  • 1
  • 3
  • 8
2
votes
1 answer

How does Delphi's TXMLDocument decide which MS XML version (3.0, 6.0 or even 4.0) to use?

I have a program written in Delphi 6 that uses TXMLDocument, and during runtime it uses the MS XML 3.0 parser. But this program reports a The specified module could not be found error on one computer, and Process Monitor reports that the program is…
TomR
  • 2,696
  • 6
  • 34
  • 87
2
votes
3 answers

Is there a way to auto-assign a dynamically created component's event handlers in Delphi 6?

I have a design and run-time component that contains a large number of event handlers. I'll call it TNewComp for now. I create an instance of TNewComp on a TForm and fill in the event stubs with specific code via the property editor at design time,…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
2
votes
2 answers

Delphi - Running code without showing form

What do you think about this programming practice: - I need to execute one transaction at first form and after that to force some updates that are placed at another form (for each item that is shown at another form). I.e. it would be like show that…
Nemanja Vujacic
  • 925
  • 5
  • 14
  • 25
2
votes
3 answers

Hooking a DLL function in Delphi

I have a coclass which checks the registry to determine if an application is installed, but it does this poorly and doesn't find newer versions of the application. In cases where a competing application has been installed, it will try to open that…
mnuzzo
  • 3,529
  • 4
  • 26
  • 29
2
votes
1 answer

What happened to Application.handle in Delphi XE?

I'm porting some code to Delphi XE and noticed that if I use Application.Handle to get the handle of the program, Delphi throws me an error and refuses to compile, saying: Undeclared identifier: 'Handle' This same behavior happens when I try to…
Daisetsu
  • 4,846
  • 11
  • 50
  • 70
2
votes
0 answers

How to change Delphi 6 soap agent 1.1 to Soap agent 1.2?

I am using Delphi 6 to develop a web service client. The service provider insists to use soap 1.2 . But when I checked THttpRio component in my Delphi 6 , I could see the soap agent is 1.1. How can I get soap agent 1.2 for delphi 6 ? Thanks in…
sinu
  • 71
  • 1
  • 4
2
votes
1 answer

Can Delphi 6 convert UTF-8 Portuguese to WideString?

I am using Delphi 6. I want to decode a Portuguese UTF-8 encoded string to a WideString, but I found that it isn't decoding correctly. The original text is "ANÁLISE8". After using UTF8Decode(), the result is "ANALISE8". The symbol on top of the "A"…
John Ken
  • 23
  • 4
2
votes
1 answer

Can Delphi 6 be upgraded to Indy 9 or 10?

The Indy version that shipped with Delphi 6 does not include the option to specify a timeout when opening a TCP connection. I have been informed in another question that Indy 9 and 10 can do this. Is it possible to upgrade Delphi 6 to Indy 9 or…
AndersJ
  • 411
  • 1
  • 3
  • 15
2
votes
1 answer

Google Contacts token expires

I working with Google Contacts and it going fine. But after an hour I manually need to refresh the granted access. According to this SO question I should be able to update my refresh_token with this call: refresh_token = requests.post( …
Jens Borrisholt
  • 6,174
  • 1
  • 33
  • 67