The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘Delphi’ Category

Delphi – finding out the design-time package name of a unit

Posted by jpluimers on 2009/04/24

Somehow I keep forgetting this ‘be aware though’ part below, hence this blog post :-)
mmx-favicon_64x64-321

When you are developing packages, sometimes you need units that are part of the VCL/RTL source tree.
Normally when compiling such a package, Delphi suggests the depending VCL/RTL package to add to your required package list.
However, that does not always work, especially with design-time packages (those start with ‘dcl’ in stead of ‘vcl’).

The last time I bumped into this was when I developed a package that needed the MessageDigest_5 unit.
Read the rest of this entry »

Posted in Development, Package Development, Software Development | Leave a Comment »

Delphi – adding for … in support to TPageControl

Posted by jpluimers on 2009/04/22

A long time ago, the for ... in statement was added to the structured statements part of the Delphi language. It is a really powerful statement, that allows for code like this:

var
  Line: string;
begin
  for Line in MyMemo.Lines do
    // some business logic
end;

in stead of using the traditional for statement which needs an extra LineIndex variable and an assignment statement:

var
  LineIndex: Integer;
  Line: string;
begin
  for LineIndex := 0 to MyMemo.Lines.Count do
  begin
    Line := MyMemo.Lines[LineIndex];
    // some business logic
  end;
end;

So, “for … in” is a cool feature, but now I wanted to do the same for a TPageControl:
Read the rest of this entry »

Posted in Delphi, Development, Software Development | 1 Comment »

Speaking @ DelphiLive ’09, May 13-16, San Jose

Posted by jpluimers on 2009/04/21

I’ll be speaking during DelphiLive ’09 that is held from May 13-16 in San Jose (CA, USA, not any of the other San Jose cities).

This is going to be a top event with really knowledgeable Delphi speakers from all over the world.
Besides the 2 sessions that I’m doing, I’ll be hanging around as are the other speakers.

So feel free to approach us, and learn from the things we learned. Or teach us something new: all of us are eager to learn as well as teach!

The downloads are now available.

Posted in Conferences, Database Development, Delphi, Development, Event, InterBase, Software Development | Tagged: , , | Leave a Comment »