Month: December 2008

Delphi and the Integer data types

No Picture

There’s a lot of discussions on CodeGear newsgroups lately regarding the Integer data types and 64 bit support. Just wanted to clarify some points for people waiting for the 64 bit release of RAD Studio (due somewhere in…

Read More »

Delphi Generics: constructor restriction

No Picture

As promised in the previous post “Delphi: Default parameterless constructor” I will now try to create a new generic class that accepts a type parameter that has a “constructor” restriction (must have a default public parameterless constructor). Let’s…

Read More »

Delphi: Default parameterless constructor

No Picture

A weird consequence of Delphi’s OOP behavior is how constructors are handled, and in particular how the default parameterless constructor is handled. Consider the following example: [Delphi] type TMyClass = class end; var Obj: TMyClass; begin Obj :=…

Read More »

Help Update 1 is out!

No Picture

Finally, Help Update 1 for RAD Studio 2009 is out. You can read more about it here. Note that there are more fixes and improvements which were not mentioned. Even more are being planned for Help Update 2…

Read More »

Out vs Var parameters

No Picture

All Delphi developers obviously know about the var keyword, otherwise known as “by reference“. Some (although I doubt it) may not know that Delphi has an out keyword also. Both are identical in the fact that both are…

Read More »

Links up again

No Picture

After some struggle I managed to get the downloads working again. Enjoy.

Read More »

Downloads are down

No Picture

Seems that the last update of the Download Monitor plugin I’m using in my WordPress broke down quite ugly. All the downloads were lost. I will try to put them up and running ASAP.

Read More »

String results and the weird stuff

No Picture

There is an interesting particularity to the Delphi compiler. It relates to Strings and Dynamic Arrays. Consider the following two routines: What is the difference between these two routines? Nothing except the syntax. In both cases Result is…

Read More »

Cool security

No Picture

This is not a Delphi post, it’s a post about stupidity! I have my laptop protected by a boot password. The cool thing is that if you press CTRL+ALT+DEL at the time when you have to enter the…

Read More »

Delphi 2009 Language features

No Picture

Check out this link — pretty much details all the new language features added in Delphi 2009. A big thanks goes to Marco Cantu for preparing this document.

Read More »