Delphi Programming
Porting to XE5 and the “W1030 Invalid compiler directive: ‘true'” warning
If you port your application to Delphi XE5 and you receive this warning
› Continue reading
[dcc32 Warning] W1030 Invalid compiler directive: 'true'
There is already a standard code style
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
VerySimpleXML – a lightweight Delphi XML reader and writer
There are lot of possibilities if you’re in need to parse or write XML files:
- use TXMLDocument (the MSXML wrapper)
- or use xml components like OmniXML, NativeXml, ADOM, SAX, libxml2, DIXml, fcl-XML, Fast XMLParser, SimpleXML
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
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
Lua 5.1 for Delphi 2010
This is a Lua 5.1 Wrapper for Delphi 2009 and Delphi 2010 which automatically creates OOP callback functions.
› Continue reading
Delphi Prism new language features
Andreano Lanusse wrote about the new Delphi Prism language features compared to Delphi Win32.
Some of them I really would like to see in Delphi Win32 and some I don’t like and disallowed it in our internal code creation rules. The most important I dislike is
Unicode in Resource files
Ever tried to put a unicode string (Delphi 2009) in a resource (.rc) file and tried to compile it with brcc32 or rc32?
You’ll get this error: Expecting resource name or resource type name
The Solution is very simple (though it kept me searching some hours :-):
Right To Left Forms support
How to enable Right To Left Forms (including icons and form captions) with Delphi:
OnClick Event in TTreeView Objects
This code returns the TAG of a clicked node in Delphi for PHP
About Dennis D. Spreen
Search
Recent Posts
- How to compile Lua 5.4.0 for Android as a dynamic library using Android Studio 4
- Please make inline vars usable for production – fix RSP-28892
- How to compile Lua 5.4.0 as a Mac OS X dynamic library
- How to compile Lua 5.4.0 for Linux as a shared library
- How to compile Lua 5.4.0 for Windows
- Daily Wage – a Spigot/Bukkit plugin that pays out a daily wage
- How to compile Lua 5.3.5 for Windows
- Better Collada exporter for Blender with custom properties
- MOS6502-delphi – a MOS 6502 CPU emulator for Delphi
- Pass a multidimensional array as a parameter (with a hidden caveat)
Categories
Tags
Archives
- May 2020
- March 2020
- June 2019
- March 2017
- August 2016
- July 2016
- June 2016
- January 2016
- September 2015
- February 2015
- January 2015
- October 2014
- September 2014
- August 2014
- May 2014
- March 2014
- February 2014
- November 2011
- June 2011
- February 2011
- March 2010
- September 2009
- August 2009
- July 2009
- May 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- February 2008
- June 2007
Delphi Feeds
- Genealogical GEDCOM trees and TeeChart June 12, 2026
- See You at the International Pascal Congress 2026 June 12, 2026
- Run Large Language Models Natively In Object Pascal June 12, 2026
- Signing files that can't carry a signature: detached CMS for ZIPs, ISOs and more June 12, 2026
- Custom Cell Rendering in TMS WEB Core TWebDataGrid June 11, 2026
- Windows CLI To Download, Manage, And Chat With Local AI Models June 11, 2026
- What’s new in Delphi 13.1? June 10, 2026
- Download, Run, And Chat With Local LLMs On Windows And macOS June 10, 2026
- How a Legacy System Becomes a Business Risk Long Before It Stops Working June 9, 2026
- From Sensor to Dashboard with StellarDS June 9, 2026


