May 142017

I ported my dzFeedReader tool which was originally written in Delphi 2009 to Lazarus. It’s still a Windows only program though.

This is more a proof of concept than a useful program, but it works. I also switched it from the SimpleRSS library to my own units so it is now under the MPL like all my other projects rather than the GPL.

May 132017

Some notes on Lazarus:

The Lazarus Wiki says on the topic of Internet Tools, that the following should load a web page:

uses simpleinternet;
str := retrieve('');

Unfortunately it fails to mention (or if it is mentioned, I overlooked it), that you first need to download and install the Internet Tools.

After downloading them and adding three directories to the search path, it still failed to compile because it tried to use FLRE which is not part of the standard installation. To use the standard regular expression engine that comes with Lazarus, you need to add the conditional define USE_SOROKINS_REGEX.

Conditional defines for a project are set in Project Options -> Compiler Options -> Custom Options. Press the Defines button, enter the conditional define and press the Add button.

That finally got my simple test program to compile.

%d bloggers like this: