Another Week, Another Poll

[Estimated Reading Time: < 1 minute] Last weeks poll asked which was your first Delphi version.  It may or may not come as a surprise that the results essentially provided a list of Delphi versions largely sorted by age. The one exception was that (of visitors to this blog) more gained their first Delphi experience from Delphi 2007 than from Delphi 2006, which would support the impression I am increasingly gaining of a resurgence in interest in Delphi having started in the last year or so.

MultiCast – Bug Fix

[Estimated Reading Time: 2 minutes] With apologies to those who have downloaded what I wrongly claimed was the “final” version a few days ago, I found an error in one of those last minute “improvements” I mentioned.  I also took the opportunity to incorporate a couple of refinements that others suggested (thanks CR). A new version is now available for download and contains the following fixes and changes:

Tiburón – What’s In A Name?

[Estimated Reading Time: < 1 minute] Providing a little light relief after the rather heavy series of posts on multicast events, a colleague recently asked me what Tiburón actually means.  So I looked it up. As well as being a town in California, it is also Spanish for shark.  I don’t know which derivation inspired the team at CodeGear, but it does raise the possibility that here in Aotearoa we could perhaps be referring to the forthcoming release of Delphi as Mangō, as this is the Maori for “shark”. Some additional trivia – from the little that I have picked up of the Maori language, “nui” in a name implies “big” or “large”, so the place name Mangonui (which crops up in a few places here) means “big shark”.

MultiCast Events – Conclusion

[Estimated Reading Time: 5 minutes] Drawing this subject to a close (finally!), here’s the concluding post I promised, including the fully documented and finished implementation that has been serving me well for almost 2 years.  The finished implementation incorporates a number of refinements to the core framework, and those are what we shall briefly look at in this final post.

Multicast Events – Part 3

[Estimated Reading Time: 4 minutes] So far we’ve seen a multicast event implementation in (fairly limited) action, and dissected the core of it’s implementation, which was a fairly dry affair. I also demonstrated a flaw in the initial implementation – a susceptibility to objects adding handlers to events but not removing them when being destroyed.  Before the .NET crowd get all smug, we should note that the relationship between an event source and it’s listeners is potentially problematic, in .NET also. Fortunately I devised a solution to the problem in my framework.  The solution – rather neatly – was itself provided by a multicast event.

A New Poll

[Estimated Reading Time: < 1 minute] My first poll looked ahead to the next version of Delphi, asking what we were looking forward to.  It came as no real surprise to find Generics and Unicode leading the pack. So I thought I’d turn the perspective around to look in the opposite direction and find out where our pollsters (pollees?) are coming from, and what version of Delphi got them started.  To keep the list down to a just barely manageable number I’ve “rolled up” some of the versions – so apologies if your specific version got mashed up with a neighbour.

Multicast Events – Part 2

[Estimated Reading Time: 8 minutes] Having covered some of the basic use of multicast events, in this second post I shall start to build the implementation.  In this first iteration we will provide the basics of a multicast event – managing and calling multiple handlers and the ability to enable and disable an event. The test project used in the previous video demonstration may also now be downloaded for you to experiment with if you wish.