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
0 answers

Programmatically increase Version number in Delphi

I was looking how to retrieve the Version number and found this: How to determine Delphi Application Version All good and works fine, but, D6 only increments that after a Build. Is there any way to increment that number after a Compile? When…
user3272241
  • 67
  • 1
  • 3
2
votes
2 answers

How to restore/clear form position after multi-monitor setup change

Within the IDE, when F12 toggles between code and form, the forms are displayed outside the monitor borders, and therefore not visible. This happens after a multi monitor setup has changed, and the forms no longer open within the available new…
AndersJ
  • 411
  • 1
  • 3
  • 15
2
votes
0 answers

parsing json delphi 6

This may be a long shot, I use Delphi 6, I know D6 is very old, but I write more as a hobby (am I'm not that good either) . I'm working on a small project to link to Google Calendars, all the responses are in a JSON file format, until now I had…
2
votes
2 answers

Lock the begining of the text in a TMemo

I would like to have a TMemo which will always begin with the string 'SELECT c_name FROM ' and I want to lock it so users cannot remove or replace this string in the TMemo, they will have to write their text AFTER this string. Can someone help me…
Moussamoa
  • 417
  • 1
  • 4
  • 19
2
votes
1 answer

Is the set type suitable for an iteration on a loop?

Have the following enum: TDays = (tdSunday, tdMonday, tdTuesday, tdWednesday, tdThursday, tdFriday, tdSaturday); And the following set of that enum: TChoosenDays = set of TDays; Now, define the following array: var ArrayStringDaysAcronym :…
EProgrammerNotFound
  • 2,403
  • 4
  • 28
  • 59
2
votes
1 answer

Will Delphi 6 debugging work correctly on Windows 10?

I've got a legacy Delphi 6 program that's worked fine on many earlier versions of Windows but that crashes on Windows 10. To debug the problem, I've installed Delphi 6 with updates 1 + 2 on a Windows 10 machine. When Delphi starts, it says the…
2
votes
0 answers

How to create validation list using XLSReadWriteII5

I need to create validation list in Excel using component TXLSReadWriteII5 I have written the following code but for some reason validation list is not getting created in Excel file. Thanks in advance. var LwWorksheet : TXLSWorksheet; …
Rahul Vishwakarma
  • 996
  • 5
  • 17
  • 35
2
votes
4 answers

Delphi function for testing string present at position x

In a recent application that involved receiving strings over a serial link I found myself writing code like: if (pos('needle', haystack) = 1) then ... in order to check if a particular substring is at the begging of a string. It struck me that the…
Michael Vincent
  • 1,620
  • 1
  • 20
  • 46
2
votes
2 answers

Is a class member free of cache line issue?

In the TThread class there is a class member (property) named Terminated. There is also an procedure Terminate; which merely sets Terminated to True. When we inherit from TThread there are some cases where we check for terminated. The following…
EProgrammerNotFound
  • 2,403
  • 4
  • 28
  • 59
2
votes
2 answers

Logging call stack into file

I am using Madexcept tool to log the exceptions, but I am not able to log the call stack in periodically. Can any one suggest me how to log the call stack.
nanda
  • 25
  • 7
2
votes
1 answer

Repeated code for classes with same ancestor

Three classes: TTntMemo, TTntEdit and TEdit have a common ancestor - TCustomEdit, but I can't use Color and ShowHint properties of TCustomEdit because they are protected and are reintroduced as public only in TTntMemo, TTntEdit and TEdit. I am not…
Paul
  • 25,812
  • 38
  • 124
  • 247
2
votes
2 answers

Sorting a memo in Delphi

I have to make an highscore memo for my school in Delphi 6. Is there a way to sort the MemoLines on numbers or alphabet? I use 4 Tedits and 1 TMemo. If the game ends, my code will check who has got the highest score. This is how to check if Player1…
Ömer Bastos
  • 49
  • 1
  • 7
2
votes
1 answer

Delphi6: Need to know is my application running in console session or remote desktop session

My application is accessed from Remote Desktop clients from time to time. I want to know is it currently being used in console session or Remote Desktop session. If the latter is the case and the session is disconnected (user has disconnected but…
amilewski
  • 125
  • 2
  • 6
2
votes
2 answers

Aquire Singleton class Instance Multithread

To get the instance of the class with Singleton pattern, I want use the following function: This is a sketch interface uses SyncObjs; type TMCriticalSection = class(TCriticalSection) private Dummy : array [0..95] of Byte; end; var …
2
votes
1 answer

High resolution exe icon results in a low resolution icon on Windows desktop shortcut

I had a Delphi 6 application with a 16x16 icon. Recently I made the 64x64 version of it and recompiled the application. This high-resolution icon is displayed on Windows 7 Superbar and in task manager when I run the application. It is displayed in…
Paul
  • 25,812
  • 38
  • 124
  • 247