delphi

What is the build number of Delphi2009 after the fourth service pack?

I installed Delphi 2009 Update 4 yesterday (very painful process ;) Now, How can I make sure if it is properly updated? What is the build number shown in the IDE about box? ...

Delphi 6 - read console app's output while running

How do I read a console apps output as it is running. I start the console application and would like to read the output as it is printed by the console app. ...

Parsing PHP/JavaScript document structure in Delphi

Hi, I need to parse PHP & JavaScript documents structure to get the info about document functions & their parameters, classes & their methods, variables, and so on ... I'm wondering if there is any solution for doing that (no regular expressions) ... I've heard about something called "lexing" however I was unable to find any examples eve...

Constant breakpoints? How to remove them?

I downloaded a project made with Delphi 2009,which is also what I use,however there is one breakpoint that I just can't remove.If I try to remove it,its being executed again after the program is executed. I met such things in other debuggers known as Hardware breakpoints,but this is not important.How do I remove the breakpoint? EDIT: A...

Delphi "E2161 Error: RLINK32: Error opening file ________.drf " during Build All

I am trying to resolve a problem with a set of packages that apparently have dependency issues. Occasionally during a Build All, I get this error: Delphi "E2161 Error: RLINK32: Error opening file ____.drf " What does it mean / indicate, and what is a "drf" file? ...

Is "implicitly imported" always a bad thing in Delphi packages?

Trying to rearrange my packages for a set of TFrame-descendent components, I'm finding it seemingly necessary to break out some of my utility TFrame descendents separate from the dialog forms which use them, mainly because the former are registered to the palette as true components and that seems to confuse the IDE sometimes with respec...

Wrapping TStringList in a Record

I tend to use Delphi's TStringList for text manipulation, so I write a lot of procedures/functions like: var TempList: TStringList; begin TempList:= TStringList.Create; try // blah blah blah do stuff with TempList finally TempList.Free; end; end; It would be nice to cut out the creation and freeing for such a co...

Open source editors using (Uni)SynEdit [except Dev-PHP/Dev-C++]

Hi, does anyone know some good open source editors / IDES that are using SynEdit? this is very powerful control, but it definitely lacks some advanced demos... ...

How to create an array of controls?

Hi,I have to create an array and place all controls there in order to access them.Here's a short example: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; const...

Are there any good free/cheap Delphi grid controls?

I gave up on Delphi's DBGrid nearly a decade ago because it is simply no good. Since then, I have used Virtual TreeView which offers a lot of value but it has a few issues. Like the current state of development (e.g. None) and the fact that there is no good data-bound version. DevExpress's QuantumGrid is famous for the rich feature set b...

How can i print a dbgrid?

I'm working with delphi2009 and i really need to create a button that can print all my data in a dbgrid. I appreciate all the help i can get. ...

GenoTechs GTSizer component

Does anyone know of a 3rd party component that works like GTSizer? It appears that GenoTechs no longer exists. We have a number of forms in our Delphi/Oracle enterprise application that have the GTSizer component. We have Delphi 2009 to install but GTSizer is not compatible, so we are holding off for now. Any and all suggestions are welc...

Getting Allen Bauer's TMulticastEvent<T> working

Hi all! First Question! :) I've been mucking around with Allen Bauer's code for a generic multicast event dispatcher (see his blog posts about it here). He gives just enough code to make me want to use it, and unfortunately he hasn't posted the full source. I had a bash at getting it to work, but my assembler skills are non-existent. ...

Vista 64 bit BSOD when running a Delphi 2009 Application.

Hi I have an application that I have converted to Delphi 2009 I have "String format checking" On and the standard memory manager. I downloaded the MS debugging tools at http://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx and got some debug files but I am not sure what to make of them. I would like some pointers on where ...

Is there a MapReduce library for Delphi?

I recently read this great article which succinctly explains the power of Google's MapReduce: http://www.joelonsoftware.com/items/2006/08/01.html In Mastering Delphi 2009, Marco Cantu shows a multi-threaded for loop using Anonymous functions, which is basically the Map part of MapReduce, but said it wasn't complete and there were other...

Delphi 3 to SQL 2008

One my clients has a system written in Delphi 3 and the database is Paradox. My job is to convert it to use SQL Server 2008. How can I make it connect to SQL 2008? This is pretty old stuff, I know. I appreciate the help. Thanks ...

ElevateDB relational model do’s and dont’s

My company uses ElevateDB in one of our products. However, our database is just a bunch of tables. Recently, as more features are designed and more modules are added, we have found out our data is no longer “bunch of unrelated tables”, but it begins to be real data structure. I have no previous experience with ElevateDB, I worked with O...

Delphi 2009 refactoring error

I use Delphi2009. When using Refactoring -> Change Params every time when I try to add new parameter to routine, when I setup new parameter and click “Refactor” I get an error: (NOTE: imageshack sometimes has problems, so sometimes you may not see this image). Do you know any workaround? ...

Delphi program prevents windows shutting down properly

I have a small program which simply reads a diary text file and displays it in a memo - thats it - no buttons you double click on the form to shut it down if you want it to disappear. When it has been run (even if you close it) windows XP gets as far as "Windows is shutting down" ie. after "Saving User Settings" etc and then it hangs. ...

How to get images from URL in Delphi

Hello, I am looking for any code samples that show how to pull images from URL into Delphi TImage component. Thanks, ...