Questions tagged [delphi-2006]

Delphi 2006 is a specific version of Delphi. Use this tag for issues related specifically to development in Delphi 2006.

Delphi 2006 is a specific version of Delphi. It was released in December 2005.

Delphi 2006 codename is DeXter.

Delphi 2006 was preceded by Delphi 2005 and succeeded by Delphi 2007. As of August 2009 it was no longer officially supported by Embarcadero.

262 questions
2
votes
2 answers

Is it possible to typecast a callback function in Delphi?

The Delphi TList.Sort() method expects a callback function argument of type function (Item1, Item2: Pointer): Integer; for comparing the list items. I'd like to get rid of typecasting within the callback function and would like to define a callback…
blerontin
  • 2,892
  • 5
  • 34
  • 60
2
votes
2 answers

What is the simplest way to add an AlphaBlendValue property to Delphi's TImage

I have a "caution" image on a dialog that is shown if there are questionable parameter values. Users do not always notice it, so I want to fade it in and out cyclically over a second or so (yes, I could just toggle the Visible property, but that…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
2
votes
2 answers

How to debug a DLL file built in VC++ with Delphi code?

I am a developer working on Delphi. In my project I have added a DLL file which is built in VC++. I need to debug the DLL file to fix some issues. So what are the steps needed to follow in order to debug DLL file with Delphi code?
2
votes
1 answer

Removing part of condition in some cases

Is there a way to remove part of condition in IF statement depending if I need it or not. Next code is example, because in my code there are a lot of user defined functions and procedures in my language: IF A THEN Q := TQuery.Create(Application); IF…
user8675722
2
votes
3 answers

Including Delphi Type Libraries in repository (SVN)?

What is the best way to save a Delphi Type Library in SVN. The file changes every time you compile the Application The file is not saved in a readable form of AscII It is very difficult to work out what changes have been made from one version to…
Charles Faiga
  • 11,665
  • 25
  • 102
  • 139
2
votes
1 answer

Information required on TDataSetProvider in Delphi

I have Midas project that uses a TDataSetProvider in one of RemoteDataModules in the Server Currently I am making use of the following events BeforeApplyUpdates - to create an Object BeforeUpdateRecord - to use the object AfterApplyUpdates - to…
Charles Faiga
  • 11,665
  • 25
  • 102
  • 139
2
votes
5 answers

Sharing a common memory area in Delphi between PCs

I have a Delphi 2006 app that gathers data and displays it as a summary of many channels, one channel per row on a TDrawGrid. I have the same app running on various other PCs on the network, but these other PC's are slaves - they don't gather data…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
2
votes
2 answers

Why do I get memory errors from my Delphi 2006 app running under Windows XP embedded

I have a D2006 app that uses FastMM4 (like, it has "FastMM4" in the start of the uses clause in the DPR file). I know Delphi uses FastMM4 as it's memory manager anyway, but the downloaded version has more debug dump options. I recently tried to run…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
2
votes
1 answer

Progress feedback in stateless HTTP session

I need to program a stateless server to execute remote methods. The client uses REST with a JSON parameter to pass the method name and its parameters. After servicing the result the session is closed. I have to use Indy10, TCP/IP as protocol, and…
Ralph M. Rickenbach
  • 12,893
  • 5
  • 29
  • 49
2
votes
1 answer

TOpenDialog moves behind calling form when I close the Windows properties window

I have a form that calls TOpenDialog. When the window comes up I right clicked one of the displayed files and clicked properties. After closing the Windows properties window the open dialog window falls to the bottom of the Z-Order behind the…
CodeMonkey
  • 135
  • 2
  • 13
2
votes
1 answer

Derive IntraWeb forms from parent and not TIWAppForm directly - error in IDE

I have forms in my application that I derive from a common ancestor, like: TAtFormBaseIW = class( TIWAppForm ) and TAtFormExplorerIW = class( TAtFormBaseIW ) This works for certain forms, but not for others. Let me make a wild guess: it seems to…
Ralph M. Rickenbach
  • 12,893
  • 5
  • 29
  • 49
2
votes
2 answers

TNotebook or TPageControl

I have an application using TNotebook to switch between different sub pages, that are shown. Now I have to extend this code a little bit (namely add a page and change sizes). I was told that TNotebook shouldn't be used anymore. In Delphi's help I…
Alois Heimer
  • 1,772
  • 1
  • 18
  • 40
2
votes
1 answer

Are there any extensions to TADOQuery that include client indexes

Quick question (hopefully) I have a large dataset (>100,000 records) that I would like to use as a lookup to determine existence or non-existence of multiple keys. The purpose of this is to find FK violations before trying to commit them to the…
Matt Allwood
  • 1,448
  • 12
  • 25
2
votes
1 answer

Delphi - Iterating through an XML dataset with NativeXML

I'm trying to migrate some xml code from the default delphi XML routines to NativeXML, hopefully to improve the speed (a lot). The XML files are of the form:
'My Name'
'My Address'
rossmcm
  • 5,493
  • 10
  • 55
  • 118
2
votes
2 answers

How to set a record field as 'Procedure of object' before an object exists so that it can run

Very un-snappy title I know. I have a series of text lines that I need to perform certain operations on in a certain order. I have come up with a means of doing this by defining the following record structure: TProcessOrderRecord = record …
Matt Allwood
  • 1,448
  • 12
  • 25