How to compile libpomelo as a Windows DLL

Monday, October 20th, 2014 | Pomelo | No Comments

This is a tutorial on how to compile libpomelo as a Windows DLL (libpomelo is a C language client SDK for Pomelo). › Continue reading

Tags: ,

Delphi XE7 and iOS error “Unable to mount developer image (e800000e)”

Friday, October 17th, 2014 | Delphi Programming, Delphi XE7, iOS | No Comments

Stumbled across this error during Delphi XE7 iOS deployment:

Unable to mount developer image (e800000e)
I’ve found two solutions:

› Continue reading

Tags: , ,

How to compile libpomelo for iOS

Monday, October 13th, 2014 | iOS, Mac OS X, Pomelo | No Comments

This is a tutorial on how to compile libpomelo for iOS (libpomelo is a C language client SDK for Pomelo) on Mac OS X 10.9.5 with Xcode 6.0.1. › Continue reading

Tags: , , , ,

VerySimpleXML 2.0 – a lightweight, cross-platform, one-unit XML reader/writer for Delphi 2010 – 10.1 Berlin

There are lot of possibilities if you’re in need to parse or write XML files:

Now here comes another one: the updated VerySimpleXML 2.0 – a lightweight, cross-platform, one-unit XML reader/writer for Delphi 2010 – 10.1 Berlin targeting at Win32, Win64, iOS, MacOSX and Android. Use it for well-formed XML files (like configuration files, interprocess communication protocols, etc.). › Continue reading

Tags: ,

Monitoring with OMD (with Nagios Core) on Debian 7 Wheezy

Monday, August 18th, 2014 | Debian, Monitoring, Nagios | 4 Comments

As Centreon (my favourite monitoring tool with nagios core) still does not support PHP 5.4+ and my boxes are now on Debian 7 (with PHP 5.4) and I didn’t want to downgrade to PHP 5.3 (for various reasons), I’ve searched for an alternative frontend for nagios. Well, I’ve found a lot but only to mention a few here:  Nagios XI (free for small environments => max. 7 hosts, oh come on, with vms on the run, really way too few), Adagios (looks nice and clean) and finally OMD which got me with its easy setup on debian 7.
› Continue reading

Tags: , ,

Exception while using TStreamReader with TZipFile

Tuesday, May 13th, 2014 | Delphi Programming, Delphi XE6 | 4 Comments

If you’re using the TStreamReader with a TZDecompressionStream – the stream output by TZipFile.Read(const FileName: string; out Stream: TStream; out LocalHeader: TZipHeader) – you’re likely to experience the exception: EZDecompressionError with the message 'Invalid ZStream operation!'.
› Continue reading

Tags:

Porting to XE5 and the “W1030 Invalid compiler directive: ‘true'” warning

Friday, March 14th, 2014 | Delphi Programming, Delphi XE5 | 5 Comments

If you port your application to Delphi XE5 and you receive this warning

[dcc32 Warning] W1030 Invalid compiler directive: 'true'
› Continue reading

Tags:

There is already a standard code style

Monday, February 3rd, 2014 | Delphi Programming | 8 Comments

As François Piette (a very honourable Embarcadero MVP) recently wrote, coding style matters. He states “… this is mostly a matter of personal preferences as long as the style is constant…” but I totally disagree in this very important topic: there shouldn’t be any “personal preferences” in writing code. › Continue reading

Tags:

VerySimpleXML – a lightweight Delphi XML reader and writer

There are lot of possibilities if you’re in need to parse or write XML files:

Now here comes another one: VerySimpleXML – a lightweight, one-unit XML reader/writer in under 500 600 lines of code. Use it for small well-formed XML files (like configuration files, etc.). › Continue reading

Tags: ,

Solving circular unit references with class helpers

Sooner or later you run into the circular unit reference problem when using a single unit for each class. There are some solutions (move the common used structs into a separate unit, use type casting, redesign your obvious bad class design, etc.) – this is a solution using class helpers. › Continue reading

Tags:

About Dennis D. Spreen

I'm an avid programmer working on a variety of platforms in a variety of languages with a wide technical interest.

Search

QR Code

Categories