Workaround for Delphi 2010 compiler error “E2076 This form of method call...
Generic support in Delphi took a very long time to get stabilised. Which means that compilers older than Delphi XE2 are hardly usable for code using generics. XE did get better, but Delphi 2010 and...
View ArticleUsing httpbin to test http/https requests
StackOverflow user Kenneth Reitz has written a great on-line and free httpbin tool that responds to many kinds of http/https requests including the standaard http request methods (or verbs) used by...
View ArticleDelphi installs: cleaning up space from %ProgramData%
A while ago I asked this on G+: I’ve a VM with many Delphi versions and want to clean up space from %ProgramData% to install more. I think somewhere in the comments it was mentioned what to delete from...
View ArticleDelphi 2010: Compiler understands $(platform) but not $(config), but debugger...
If, like Delphi XE and higher, your organise your projects to use output directories like ...Bin\Delphi####\$(Platform)\$(Config), and back-port to Delphi 2010, then The Delphi 2010 compiler puts the...
View ArticleDo publish your .dproj/.groupproj in your version control systems (via:...
But I partially agree with the statement that Eric Grange made at DelphiTools as part of his post via Don’t publish your .dproj/.groupproj a few years ago: Ad interim, .dproj are just a kludge by...
View ArticleWorkaround for Delphi 2010 error Fatal : F2084 Internal Error:...
Often in Delphi 2010, you can get an error like this: C:\Program Files (x86)\Embarcadero\RAD Studio\7.0\Bin\CodeGear.Delphi.Targets(136,3): error :...
View ArticleA while ago Allen Bauer commented on the working theory of Nullable in Delphi
I missed this last May, but revisiting some old G+ posts I saw Allen Bauer commenting: Current working theory of Nullable<T>. Nullable<T> = record ... property Value: T read FValue;...
View ArticleUnless you write an installer with the right manifest, don’t include...
I’ve seen this question coming up a few times, and bumped into this at a client recently: the UAC dialog coming up when debugging a 32-bit executable. This is caused (more details below) by Installer...
View ArticleWhy Your Code Is So Hard to Understand – via CodeProject
Below are the captions, read the full article as it is very well written. Why your code is hard to understand Problem #1, Overly Complex Mental Models Problem #2, Poor Translation of Semantic Models...
View ArticleHmmm. Castalia for Delphi: Castalia for Delphi is not currently available....
Thanks Uwe Raabe for sharing This sounds interesting: http://www.twodesk.com/castalia/thanks.html </rumours on> As the page then read: Castalia for Delphi Castalia for Delphi is not currently...
View ArticleGet the path to the most recent msbuild.exe from the registry.
Get the path to the most recent msbuild.exe from the registry: With help from: .net – Path to MSBuild – Stack Overflow. Where to Find MSBuild.exe : C# 411. TimRayburn.net – Visual Studio 2013 and...
View ArticleOn Epsilon, MachineEpsilon, and relative differences – via: I was wondering,...
A long time ago, there was an interesting discussion here: I was wondering, that what is the closest value to the Zero floating point can have. Recently I needed to do some calculations on series where...
View ArticlePlease review your DFM files before you commit to version control
Recently I bumped into it again with one of the more current Delphi XE* versions and Delphi 2007: the IDE changing the DFM files without reason. This time it was in a multi-team environment with many...
View ArticleDo not expose properties with writeable fields without a chance to react on...
From a chat with a co-worker a while ago: I’m not against properties. Just something against properties properties that are objects with writeable fields. So even if you expose such a property as...
View ArticleUpdate to “Delphi operator overloading: table of operators”: added the `in`...
Because of Delphi sorcery: New dynamic array type in Spring4D 1.2, I updated this article from 2009: Delphi operator overloading: table of operators, names, and some notes on usage and ‘glitches’. When...
View ArticleStack Exchange – Android Apps on Google Play
I missed when the StackExchange App for Android was finally launched, but I totally agree with Paul Lammertsma: Exceeds expectations This was a long time coming, but it didn’t disappoint. It’s a great...
View ArticleEnsure you know the state of an instance.
A while ago, I came across a class having (among other members) two methods named like this: Start Stop Within one of the other members of the class, I had to (temporarily) Stop processing, then Start...
View ArticleInteresting game to teach kids to program: Eduka+ | YAPB.
On my research list, by the maker of DeHL: Eduka+ | YAPB. Would be cool to make a mobile version of that some day. –jeroenFiled under: Delphi, Development, Software Development
View ArticleInteresting use of an IDE plugin: Copy a string from a “Watch” entry to the…
On the todo list: Interesting use of an IDE plugin: Copy a string from a “Watch” entry to the clipboard without quotes. – Thomas Mueller (dummzeuch) – Google+ Source: delphi – Can I change the display...
View ArticleWish more people named Peter Sollich for what he did in the Pascal world…
A small video reference to the work that Peter Sollich did for the Pascal world is at around 38:20 in this video: https://www.youtube.com/watch?v=btGj-PocjeU#t=2298 It is where Allen Bauer talks about...
View Article