Note to self: In Lazarus Win64 there is no floating point type Extended, it's mapped to Double. So, overloading something like: [delphi] function TryStr2Float(const _s: string; out _flt: Extended; _DecSeparator: Char = '.'): Boolean; overload; function TryStr2Float(const _s: string; out _flt: Double; _DecSeparator: Char = '.'): Boolean; overload; function TryStr2Float(const _s: string; out _flt: Single; … Continue reading Extended = Double in Lazarus Win64
Category: Lazarus
Advanced Records in Lazarus / fpc
Note to self: Delphi's Advanced Records are also available in Lazarus / Free Pascal, but only if they have been explicitly enabled with the modeswitch compiler directive: [delphi] unit SomeUnit; {$mode objfpc}{$H+}{$modeswitch advancedrecords} interface type TSomeRecord = record FSomeField: integer; function SomeMethod: integer; end; implementation function TSomeRecord.SomeMethod: integer; begin Result := FSomeField; end; end. [/delphi] … Continue reading Advanced Records in Lazarus / fpc
Denkzettel Companion 0.0.4 released
I have just released version 0.0.4 of my Denkzettel Companion tool. (It was available from OSDN, but OSDN no longer exists.) This version adds persisting the window position and size in the registry.
dzFeedReader 1.0.0 released
dzFeedReader started as a proof of concept, but became actually a usable tool. So, why not make a release available to others? There you go: dzFeedReader 1.0.0 is available from SourceForge. dzFeedReader is a program that can display rss feeds from websites in RSS 1.0, RSS 2.0 and Atom 1.0 format. Its UI is similar … Continue reading dzFeedReader 1.0.0 released
Denkzettel Companion 0.0.3 released
I have just released version 0.0.3 of my Denkzettel Companion tool. (It was available from OSDN, but OSDN no longer exists.) This version is nearly feature complete and there are no known bugs.
Denkzettel Companion 0.0.1 released
I have just released an early beta of my Denkzettel Companion tool. (It was available from OSDN, but OSDN no longer exists.) Basic functionality works, but there will be bugs.
dzFeedReader ported to Lazarus
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 … Continue reading dzFeedReader ported to Lazarus
Lazarus and SimpleInternet
Some notes on Lazarus: The Lazarus Wiki says on the topic of Internet Tools, that the following should load a web page: [delphi] uses simpleinternet; .. str := retrieve('http://www.google.de'); [/delphi] 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 … Continue reading Lazarus and SimpleInternet