Categories
News Video podCast

Intro to Generic Collections with Delphi 2009

A very short introduction to Generic Collections in Delphi 2009. Create a TList of Integers and show adding and removing items from it. Showing some of the differences in types, gotchas and errors you might get.

Generics, or parametrized types, are a type that works with another type that is defined later. Collections are a great example of using them. You create a generic TList, and then when you use it you declare what type it will contain. Then it will be strongly typed to that specific type, both in adding items and removing them.

Delphi Generics work with all types in Delphi: native types (Integer, string, etc.), Records, Objects and Interfaces.

This is screen cast episode 2, shot with Camtasia and hosted on Vimeo.  I had to shoot it at 1280×720 so they will offer it in HD and not downscale it.  Let me know how it works for everyone.

As was pointed out in the comments, the download link only works after you sign into Vimeo.  If that doesn’t work for people let me know and I will come up with a different solution.

Categories
Video podCast

ScreenCast 1 – Adding an Explore Tool

This is basically an experiment with the new Jing tool from TechSmith and creating a screen cast with Delphi 2009. Just so you know up front, there is no editing, so you are getting the raw screen cast (although I did a few takes) so it isn’t as polished as my usual podcast.

You can download the SWF file or use the link above to view it online.  It is really small (5.64 MB) and should stream quickly.  Like I said, this is an experiment, so I would really like your feedback on the process so I can tune future screen casts better.

Thanks!

[Update: I took off the enclosure.  I don’t think most video players can handle the SWF file anyway.]