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
- How it Works With Holger goes LIVE! Looking at FireDAC and SQLite first! January 25, 2023
- TONIGHT! I will give an online, live presentation for the Orange County Delphi user group Jan. 25 2023 at 7pm (PST) / 04:00 (Brussels) January 25, 2023
- Official Docker Containers Updated for 11.2 January 24, 2023
- Extend TMS WEB Core with JS Libraries with Andrew:<br />Shoelace Web Components January 24, 2023
- TMS MQTT 2.0 beta available, bringing MQTT protocol v5.0 support to Delphi developers January 24, 2023
- Online DelphiCon 2023 and Delphi Conference in London January 23, 2023
- SamplingProfiler 23.1.23 (belated) release is available January 23, 2023
- Big improvements and optimizations for Tiled maps handling in TCastleScene January 22, 2023
- Almost-automatic batching for TDrawableImage, Tiled rendering incredibly faster (like 30x), ability to load Tiled into TCastleScene, new isometric game demos and the plan for 2D games based on maps January 21, 2023
- Externí prohlížeč PDF ve Firemonkey pro Windows a Android January 20, 2023