Quantcast
Channel: Delphi – The Wiert Corner – irregular stream of stuff
Browsing all 1440 articles
Browse latest View live

Interesting situation now UWP isn’t panacea any more: for Windows...

Summary: UWP (Universal Windows Platform) is dying, long live native Windows development. Source: [Wayback/Archive] Native Windows is Back to Center Stage With the downplay of UWP, native development...

View Article


parsing – delphi – strip out all non standard text characers from string –...

From a while back a totally non-optimised code example by me (intentionally limiting to AnsiStr as it was about filtering ASCII, and UniCode has way many code points for the Latin script). // For those...

View Article


On TStrings (and TStringList) sorting: what the default Sort behaviour is and...

Because I need this eventually, here the full quote of my answer in [Wayback] sorting – How can I get TStringList to sort differently in Delphi – Stack Overflow (The default Sort behaviour is to...

View Article

Delphi: workaround doing math with generic types preventing “E2015 Operator...

A while ago on Facebook (it’s a private group, so you cannot see the posts unless you both have a Facebook account and are member of the group), [Archive.is] Niels Tjørnhøj-Thomsen (coming from a C++...

View Article

Image may be NSFW.
Clik here to view.

Delphi MVVM links

After I did conference presentations and wrote a magazine article and in 2013 about Delphi MVVM using DSharp, I saw a 3 articles in 2018, then I went through a big rollercoaster involving rectum cancer...

View Article


Delphi design-time packages: “%1 is not a valid Win32 application”

For my link archive, as I hardly see this (it happens in many Delphi versions and always has to do with missing/wrong DLLs), so always forget how to solve it. Basically it is the same fix as for Fixing...

View Article

Image may be NSFW.
Clik here to view.

When MySQL characterset ‘utf’ does not allow you to enter some Unicode code...

Contrary to what many believe is that MySQL utf8 is not always full blown UTF-8 support, but actually utf8mb3, which has been deprecated for a while now. Only utf8mb4 will give you full blown UTF-8...

View Article

Delphi SetRoundMode: gets sets part of the 8087 control word (related:...

I thought I had written about this a long time ago, as Math.SetRoundMode (and now System.Math.SetRoundMode) has been introduced since at least Delphi 2007. There are also related GetRoundMode and...

View Article


Some uptime monitoring tools that are still free and understand more than...

Since uptimerobot has slowly moving free features, part of my family uses it to monitor uptime of their personal stuff, and I don’t want to pay for the free monitoring I do on Embarcadero...

View Article


When floating point code suddenly becomes orders magnitudes slower (via C++ –...

When working with converging algorithms, sometimes floating code can become very slow. That is: orders of magnitude slower than you would expect. A very interesting answer to [Wayback] c++ – Why does...

View Article

DELPHI : EEncodingError – Invalid code page on windows xp embedded – Stack...

From my Windows XP days  (which are long gone), but historically relevant the answer to [Wayback] DELPHI : EEncodingError – Invalid code page on windows xp embedded – Stack Overflow by [Wayback] Remy...

View Article

Image may be NSFW.
Clik here to view.

The Delphi documentation site docwiki.embarcadero.com has been down/up...

The [Wayback/Archive] Embarcadero/IDERA Documentation Wiki has been mostly down since March 3rd, 2022 (not the main page, but almost all other pages are). I modified [Wayback/Archive] Docwiki https –...

View Article

Image may be NSFW.
Clik here to view.

A while ago @LarsFosdal praised Bruneau Babet for trying to offset the lack...

Earlier this year, [Wayback/Archive] Lars Fosdal posted a long thread about Embarcadero/IDERA software quality and one special person trying to offset the lack. It is important not just because of his...

View Article


On Windows, keep the lifetime of relative pathnames as short as possible...

Subtitle: GetFullPathName thread-unsafety because of SetCurrentDirectory isn’t, so derived functions (like Delphi GetDir/ChDir/TPath.GetFullPath, or .NET System.IO.Path.GetFullPath) are not thread-safe...

View Article

Image may be NSFW.
Clik here to view.

Get it at a discount while it is hot: Delphi Thread Safety Patterns eBook by...

Get the new [Wayback/Archive] Delphi Thread Safety Patterns eBook at a discount while it is hot: Use Coupon Code: DTSPATT10 at checkout to get a $10 discount. This promotional offer is valid through...

View Article


Be careful when using the System.Threading unit in versions earlier than...

A while ago, I got reminded of a few occurrences of Delphi apps hanging after a little less than 2 months of being active. It does not happen that often, as usually Patch Tuesday requires a reboot, but...

View Article

The Delphi and Turbo Pascal tools page by Duncan Murdoch has moved domain...

For a very long time (about 2 decades) Duncan Murdoch had his home page at www8.pair.com/dmurdoch which somewhere in 2021 has moved to I figured that out thanks to some help from [Wayback/Archive] Pair...

View Article


Image may be NSFW.
Clik here to view.

A year ago on Telegram: “Do I need to use GarbageCollectAtoms in Delphi? I...

Last week I found out that I had some Windows ATOM issues before, but this beats them easily was still a draft in stead if in the blog queue. I got reminded to it by someone asking on Telegram about...

View Article

Where can I find a comprehensive list of Delphi “compiler magic”...

A long time ago, I posted one of the answers to [Wayback/Archive] Where can I find a comprehensive list of Delphi “compiler magic” declarations? – Stack Overflow So for my link archive, these are the...

View Article

Image may be NSFW.
Clik here to view.

Reminder to self: write a more extensive blog post on Delphi style guides and...

A while ago, Uwe Raabe reminded me about the Delphi Style Guide which is on-line at the Embarcadero document wiki: He reminded me to write a bit more about Delphi Style Guides, as there are a few and I...

View Article
Browsing all 1440 articles
Browse latest View live