Home » Software Development
Generic Defaults
One important part of any generic collection classes are the “type support” functions. And what I mean are the functions specific to each type that perform: Comparison – will return a value indicating if A > B or…
Read More »Delphi 2009 – Exit;
A very useful and cool feature in Delphi 2009 is the Exit keyword. Yes, it’s that Exit that “returns” from a function call. So what’s so exiting about it? Nothing really – for people coming from C-like languages,…
Read More »Delphi Generics: Problem 1
Kids, don’t try this at home 🙂 Error: [DCC Fatal Error] Tests.DynamicArray.pas(772): F2084 Internal Error: URW1135 There you have it 🙂 The fix is rather simple but annoying: Declare a new type in the class/record like this: And…
Read More »TSendMail Action
If you’ve ever wondered how to use TSendMail action in ExtActns unit – drop it, it’s useless. I’ve had a few people complaining they don’t know how to set the Recipients and Subject set it – you can’t…
Read More »New Delphi 2009 Generics
Finally Generics are a part of Delphi for Win32! This is a big push for CodeGear in order to bring Delphi out of stagnation it has been the last couple of years. Impressions after working with generics for…
Read More »New C#: Exactly my point!
I was debating some of the new flashy changes planned for new C# version with some of my colleagues … It seems no matter what Microsoft does it’s always considered as an in innovation in the field. Let’s…
Read More »How Samba was written
Was browsing around and just found this article: http://www.samba.org/ftp/tridge/misc/french_cafe.txt Pretty much says it all – except that it’s much harder when you don’t have a local install of the server. You can’t actually afford to do all the…
Read More »Fond Memories: WoW
Came across a blog post a few weeks ago where someone was describing the methods he used to sniff WoW’s (World Of Warcraft) packets. That led me to think that I should write down about the time I…
Read More »TActionMainMenuBar Sucks!
Yeah … seriously! Tried to move away from the TMainMenu in Eduka+ today. Spent nearly 3 hours researching and trying out different approaches to make the Action based menu work… It seriously lacks clarity and functionality. So what…
Read More »$SetPEFlags
Quick update: It seems Delphi has a $SetPEFlags directive for setting the PE flags! Was searching for this for some time now. Now I can add a: {$SetPEFlags IMAGE_FILE_UP_SYSTEM_ONLY} flag so that windows only assigns a single core…
Read More »