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

Only One field shown from SQL

I have a problem trying to get fields from a SQL statement that retuns 2 fields If I run the query in phpMyAdmin, it returns all the fields correctly. That means SQL statement is correct If I run the SELECT statment with only one field, it returns…
3
votes
2 answers

How to migrate from Delphi6 to Delphi2010 (Unicode Problem)

Hi I was using the Francois Piette's RasDial with Delphi 6, but it stopped working in Delphi 2010 How can I keep using these functions like before? class function Encryption.DecriptPasswd(strPasswd: string): string; type PWORD = ^WORD; var …
Jiraya
  • 41
  • 5
3
votes
1 answer

Installing component in dclusr.dpk breakes other components

First I've installed RX library 2.75 and some others. Then I'm trying to install custom (not mine) component TMyLookupEdit which is derived from TRxLookupEdit. I do it thru main menu -> Component -> Install Component... and choose components' .pas…
Alexander Malakhov
  • 3,383
  • 2
  • 33
  • 58
3
votes
5 answers

How can I find all MP3 files in a directory?

I recently started with delphi and now I want to get all mp3 files from a directory. I want something like the php function glob().
dododedodonl
  • 4,585
  • 6
  • 30
  • 43
3
votes
5 answers

Delphi - Cross-thread event handling

I have a small client-server application, where server sends some messages to the client using named pipes. The client has two threads - main GUI thread and one "receiving thread", that keeps receiving the messages sent by server via the named pipe.…
Ondra C.
  • 2,492
  • 3
  • 33
  • 35
3
votes
0 answers

Should ShellExecute be used to open default mail program and how can be properly done?

I have found in my company's codebase a code to open default mail program using ShellExecute. The code is written long time ago, but I've notice strange behavior on it, the problem only occurs when the debugger is not attached. if…
EProgrammerNotFound
  • 2,403
  • 4
  • 28
  • 59
3
votes
2 answers

How to display NULL value as unchecked state in a TDBCheckBox descendant?

Having a nullable dataset field of a boolean type, how to display its NULL value as an unchecked state in a TDBCheckBox control descendant linked to this field. By default, TDBCheckBox displays the NULL value of the field as a grayed check box: but…
Roman Marusyk
  • 23,328
  • 24
  • 73
  • 116
3
votes
1 answer

TBitBtn displays only using legacy Windows theme

I created the manifest file for my Delphi 6 application so it can display controls according to the theme defined by Windows (controls 6.0). Everything looks fine, except TBitBtn component, which is displayed using the legacy theme: The behavior is…
adlabac
  • 416
  • 4
  • 12
3
votes
1 answer

Copy on write for array of records

Does copy on write semantics applies for dynamic arrays of records? How to properly duplicate an array of record? Is this enough?: type recordA = Record Y:integer; end; var x: array of recordA; b: array of recordA; item:…
Felippe Tadeu
  • 237
  • 2
  • 11
3
votes
1 answer

How to make other application hidden window visible from my application?

My application hides its window (and hence the task bar button) and stays only in the notification area, with the following code: Form1.Hide; When I click on the notification icon, the window shows itself with the following…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
3
votes
2 answers

Delphi 6 Update 2 installation workaround on Windows 8.1 x64?

I need to work with Delphi 6 Update 2 in Windows 8.1 x64 (in case you were wondering, it's about maintaining an old application, migrating to a newer version is not an option. I can't use a VM because I use the same machine to connect to some…
cleantone
  • 83
  • 1
  • 9
3
votes
4 answers

Delphi 6 IDE and apps working on windows 7 64 bit?

I have a commercial app that is developed with Delphi 6. Ive been developing under windows xp 32 bit, but am about to get a new development machine with Windows 7 64 bit. Will Delphi 6 install and work in the new environment ? The developed app…
mark
  • 31
  • 1
  • 1
  • 2
3
votes
3 answers

How can I write comparison functions for unsigned 64 bit integers for versions of the compiler without support for UInt64?

How can I do that with Delphi 6? UInt64 is not known in Delphi 6. It was introduced in later versions. var i, j: Int64; if UInt64(i) < UInt64(j) then ... I am thinking of an asm procedure. function UInt64CompareLT(i, j: Int64):…
3
votes
3 answers

Why I don't need call CoInitialize in a thread created inside a COM Thread?

In order to learn multithreading, I've created a thread inside a COM Thread (TRemoteDataModule). This is my Component Factory: TComponentFactory.Create(ComServer, TServerConn2, Class_ServerConn2, ciMultiInstance, tmApartment); Inside the Thread, I…
EProgrammerNotFound
  • 2,403
  • 4
  • 28
  • 59
3
votes
3 answers

Compiling projects with DCC32 as in Delphi 6 professional IDE

IDE: Delphi 6 Professional. We have big projects. I cannot use Project Groups to build them all, because I got OM errors, and strange file errors when I did it. My idea was that I will use DCC32.exe Priorly I had a fight with the command line…
durumdara
  • 3,411
  • 4
  • 43
  • 71