Archive | Development RSS feed for this section

Delphi Prism and the Microsoft Rx Framework

It’s very easy to overlook the fact that Delphi Prism fully supports .NET 3.5 and parts of .NET 4 and with it, the amazing range of Frameworks and Libraries that the .NET eco-system contains. One such framework that I’ve been waiting to get working with is the Microsoft Reactive Extensions for .NET (aka Rx Framework). [...]

An Improved Cirrus Caching Aspect

In my original introduction to Cirrus framework I drew up a basic method result caching attribute for Delphi Prism. This weekend I thought I’d give it another go and try to create a more general purpose Caching Aspect that integrates with a well known Cache library. I decided to use the opportunity to experiment with [...]

Time to bury this “Is Delphi Dying” nonsense

Every 3-6 months or, more frequently it seems, someone has the urge to post some attention grabbing headline such as “Is Delphi Dying” or “Is Delphi a Dead language?” (yes, even unintentionally negative headlines hurt). It recently even despicably overflowed onto StackOverflow. Enough is enough, I thought, I am utterly bored with this discussion. So, I decided to do [...]

Dynamically generating code with Delphi Prism

In my last post I covered dynamically compiling code with Delphi Prism and this time I’m going to introduce dynamically creating code which could then be written out to a source file or compiled from in memory. You might want to generate code dynamically for a wide variety of reasons, whether it be to bootstrap [...]

Dynamically compiling code with Delphi Prism

Delphi Prism and the .NET Framework are both extremely powerful tools and bring a lot of flexibility that Delphi for Win32 cannot necessarily provide, particularly when it comes to reflection and code generation. I recently started a project where I wanted to be able to compile a string with Delphi Prism code into an assembly without hacking my [...]

Malware specifically targeting Delphi

The F-Secure blog has details of a Malware variant that they’ve found that solely targets installed Delphi versions 4 -7. F-Secure currently detect this as: Virus.Win32.Induc.a. The malware saves a clean copy of SysConsts.dcu and then adds a call to its own init function at the entrypoint of the SysConsts.dcu library. The malware is rather [...]

The Delphi Community: From the Outside

Someone on Twitter recently pointed me to LangPop.com – which claims to gather together data to give you an estimated rating of how popular certain Programming languages are. I know that most people have seen the TIOBE Programming Community index at some point which uses similar data mining methods to LangPop. This is the first [...]

Delphi Prism and the Cirrus Framework

The May 2009 Release of Delphi Prism introduced the Cirrus layer that provides Delphi Prism developers access to a library for Aspect Oriented Programming natively for the first time. The AOP Wikipedia article has a much more detailed explaination than I could provide but for those who don’t want to read the full article AOP [...]

Turbo Delphi: A Hidden gem in DelphiLive?

I enjoyed the Twitter live-coverage and exciting revelations of DelphiLive! particularly from JimMcKeeth and marcocantu but also many others. Despite the surprise revelations of Project X etc a particular slide caught my eye amongst the many others: Did you see it? ..ISVs, VARs, Consultants and Hobbyists.. I jumped at the phrase and asked Jim whether [...]

Diary of a C# to Delphi Prism conversion

I have in the past written up a few tips for converting a Delphi.NET project to Delphi Prism but this time I thought it might be useful for me to write up my experiences on converting this C# Project to Delphi Prism by initially using the C#ToPas Tool from RemObjects. Many of you who attended CodeRage [...]