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
1
vote
2 answers

Getting WPARAM in TWndMethod to return 4 bytes

I'm using AllocateHWnd in a class I'm writing to receive system messages with a TWndMethod and the messages I'm receiving need to handle a 4-byte WPARAM, which specifically references a pointer. But I'm only getting 2 bytes in return. How do I set…
Glenn1234
  • 2,542
  • 1
  • 16
  • 21
1
vote
1 answer

Is there any way to manipulate the value of the TimeGetTime timer

I have an app using the GetLastInputInfo function and compares it with the value of GetTickCount (which returns the number of milliseconds since Windows started) as a way of detecting nobody at the keyboard or mouse application for more than a…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
1
vote
1 answer

GDIPlus.dll Access violation error

I am getting an access violation error stating "Access Violation at address 4EC842CD in module gdiplus.dll". Language Used : - Delphi 10, Borland Studio 2006 Environment: - Windows XP I am having an application in which I am using File Open dialog…
Amit Kumar Jain
  • 487
  • 2
  • 11
  • 25
1
vote
1 answer

GetVersionExW error in BDS2006

this works in Delphi 2009 but in TurboDelphi/BDS2006 I get an error: [Pascal Error] xxx.pas(117): E2033 Types of actual and formal var parameters must be identical ... var osVerInfo : TOSVersionInfoExW; i : Integer; begin …
Remus Rigo
  • 1,454
  • 8
  • 34
  • 60
1
vote
1 answer

How does a DBGrid component determine initial column widths to display?

I'm having a difficult time saving/reloading col widths in a DBGrid (actually TMS's DBGrid). TMS includes built-in methods to save/reload col widths, which are working correctly (I can read the values in an ini file). Something, somewhere in my code…
Al C
  • 5,175
  • 6
  • 44
  • 74
1
vote
2 answers

Delphi - How do I find the source of a recurring "ghost" tray balloon popup?

I have a D2006 app that notifies various events via a tray balloon hint. Every so often, but not very often - say 1 in 10 invocations of the app -, one of the hints decides it is going to popup again and again... forever. The only thing that…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
1
vote
2 answers

How to construct a Soap Envelope manually using TXMLDocument (Delphi 2006)

I've been having this problem for a long time now and I cannot solve it my self. I've tried searching Google, Bing and stackOverflow too? No luck... I'm trying to construct a soap header manually using the TXMLDocument component of Delphi 2006: …
Brian Andersen
  • 65
  • 1
  • 10
1
vote
3 answers

Invalid pointer exception when closing app after upgrade from Delphi 2006 to Delphi XE

I've just upgraded a project from Delphi 2006 to Delphi XE. Everything is working as expected except I get an exception when I close my app. It's not breaking on a code line. It breaks to the CPU window on a LEAVE command. I've attached a Eureka…
olve
  • 189
  • 2
  • 13
1
vote
1 answer

List the Record's element\fields

Is it possible to get the list of a record's elements or fields similar to a list of a class's published properties via type info ? Thanks !
Rick
  • 1,301
  • 1
  • 16
  • 28
1
vote
2 answers

Disable Change_Log in XML file while saving through ClientDataSet

This was continuation to my previous question. I dont want PARAMS CHANGE_LOG data in my XML file while saving the data in ClientDataSet using ClientDataSet1.SaveToFile() method. My code looks like…
Bharat
  • 6,828
  • 5
  • 35
  • 56
1
vote
1 answer

Reading and writing into the XML file

I need to work on XML files using Delphi. I want to present the xml data in a DBGrid to the user and save the changes done by user in the XML file. For example in the below xml (which was presented to the user), if user changed City of ABC under…
Bharat
  • 6,828
  • 5
  • 35
  • 56
1
vote
1 answer

starting and stopping the screensaver

Should have been simple I would have thought. I want to force the PC to go into screen saver mode, and exit it when conditions I am checking in by D2006) app come true. It doesn't seem to work: if ScreenSaverExitRequested then begin …
rossmcm
  • 5,493
  • 10
  • 55
  • 118
1
vote
1 answer

Register custom form in delphi 2010 with ToolsApi

I have custom form which is descendant from TForm. I used ToolApi to register custom module and add it to repository. So far so good. But when I click on File->New I can see my category with icon for my custom form but it is disabled. Icon is…
1
vote
3 answers

When I add a TPanel to a TToolBar, do I get a TPanel or a TToolButton?

When Delphi (2006) goes quantum: I've got "something" that appears to be both a TToolBar and a TPanel, depending on how you observe it. I'd like to understand what's going on. Here is how to create it and what happens: in the DFM add a TToolBar…
user192472
  • 715
  • 7
  • 15
1
vote
1 answer

Delphi: Memory Leak Warning Message

I am in the process of creating a small application in Delphi 2006. In one of the classes there is a property of another class. In my onCreate event, I instantiated the objects and also destroy them in the onDestroy event. When I close the…
Denes
  • 47
  • 3
  • 11