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

Report Builder (Digital Metaphors) add empty rows in details band until the end of page

I am using ReportBuilder 10 in Delphi 2006 with an Access 2000 database. I am trying to create a report using a filtered query. Telerik Report : Starch line in Detail band or Add Empty rows Repeat a vertical line on every page in Report Builder /…
emrey
  • 113
  • 9
4
votes
2 answers

How to calculate the "Left" Property to center a Text in a DBGrid Cell?

Continuing with the project started in: How to auto fit/scale DBGrid's (or other similar) columns widths according to its contents? How to calculate the "Left" Property to center a Text in a DBGrid Cell? When we call OnDrawColumnCell and use the…
NaN
  • 8,596
  • 20
  • 79
  • 153
4
votes
2 answers

MIDIYOKE in Delphi 2006

I am working with application in delphi. I need to use MIDIYOKE to send output from my application to another application. The second application is Virtual piano keyboard. I installed all the packages and got MIDI components in the delphi. I…
poonam
  • 748
  • 4
  • 19
  • 40
4
votes
4 answers

Delphi 7, Add a dll to application directory on dropping a component

i am developing a a component in delphi 7 and delphi 2006,component uses a .pas (Not mine )file which requires a DLL file to be present in the application directory. It is possible to embed the DLL file into the component, so that when the user…
PresleyDias
  • 3,657
  • 6
  • 36
  • 62
4
votes
2 answers

FastMM4, how to read the log file?

i'am working on an software,so i have just started using FastMM4 (for real) in my project. i have found on the net on about how to get the line number in FastMM4,i got the line number but i can figure out what does the other information in the log…
PresleyDias
  • 3,657
  • 6
  • 36
  • 62
3
votes
2 answers

Delphi XE2 assembly

I have the following function that works in Delphi 2006, but under Delphi XE2 it gives either an access violation error or a privileged instruction error when processing RET. function Q_TrimChar(const S: string; Ch: Char): string; asm PUSH …
There is no spoon
  • 1,775
  • 2
  • 22
  • 53
3
votes
1 answer

Delphi XE2 FormatDateTime passing -693594

We have a bit of an issue here. We have upgraded from Delphi 2006 to Delphi XE2 and are in the process of converting our code. The problem is, we use the value -693594 through our application and database records to represent no date (zero date). …
There is no spoon
  • 1,775
  • 2
  • 22
  • 53
3
votes
1 answer

Delphi - Application independent of Regional Settings

I need to make an application(D2006) independent of Regional Settings, most important all the dateformats must be the same. For the beginning I want to replace all the FormatDateTime('adateformate') with FormatDateTime('aConstantDefined').…
RBA
  • 12,337
  • 16
  • 79
  • 126
3
votes
1 answer

Delphi 2006 - What's the best way to gracefully kill a thread and still have the OnTerminate handler fire?

I have a thread that sometimes freezes (I suspect) due to a DLL call that never returns. In the general case, where you have calls to blocking routines like Indy, is there a way of recovering from this in such a way that the thread OnTerminate…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
3
votes
3 answers

delphi pointer question

I have the following code which is working, but I don't understand it 100% (please see the comments from code): unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; type …
RBA
  • 12,337
  • 16
  • 79
  • 126
3
votes
2 answers

How to convert a D2009 .groupproj file to a D2006 .bdsgroup file?

I'm trying to convert a .groupproj project group file (from Delphi 2009), to use with Turbo Delphi Explorer, i.e., convert to .bdsgroup. The file structures are similar (xml). There are a easy way to do that? How?
3
votes
2 answers

How do I get Delphi 2006 TStringList.LoadFromFile to load UTF-16 files

I have a Delphi 2006 app that I am adding code to process some generated CSV data files. TStringList.LoadFromFile was giving strange results and I have just worked out the files are UTF-16 encoded. Upgrading to XE is planned but not an option at…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
3
votes
1 answer

Delphi TPrinters.GetPrinters call hangs

I have an app that has returned an error report. The app is written in Delphi 2006 and hangs during startup. The MadExcept main thread stack is shown below. I suspect there is no default printer but I can't replicate the fault here. Anyone seen…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
3
votes
3 answers

Delphi idle handler only fires when I move the mouse

I have an OnIdle handler in my D2006 app. With this code: procedure TMainForm.ApplicationEvents1Idle(Sender: TObject; var Done: Boolean); begin Inc (IdleCalls) ; Sleep (10) ; Done := False ; end ; the app runs smoothly, the idle handler is called…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
3
votes
4 answers

Is there any simple automated way of finding out all the source files associated with a Delphi project?

I like to backup up the source code set for a project when I release a version. I use GExperts project backups, which seems to gather up all the files in the project manager into the ZIP file. You can also add arbitrary files to this file set, but…
rossmcm
  • 5,493
  • 10
  • 55
  • 118