Visit site The Wiert Corner
January 2012
0
votes
great answer by Remy Lebeau on windows – CreateProcessAsUser doesn’t work when “change user” – on Stack Overflow part of @StackExchange
The Wiert Corner
– You might wonder why I quoted two great StackOverflow answers recently. Well, it is because I absolutely love the way that StackExchange.com and StackOverflow.com changed how to find quality answers (and questions!) on topics varying from programmers through Cooking to Chines Language Usage in a ...
2
votes
Great answer by Cosmin Prund: How and when are variables referenced in Delphi’s anonymous methods captured? – Stack Overflow
The Wiert Corner
– Every once in a while, by accident you stumble on a really great answer on StackOverflow. Here is a quote from Cosmin Prund describing on how Delphi implements anonymous methods using a TInterfacedObject descendant: When you have a function like the one in the question, where you have an anonymous ...
December 2011
1
vote
Many more web platforms vulnerable to the hash collision attack (not only ASP.NET) #28C3 @hashDoS #hashDoS @ccc
The Wiert Corner
– When writing my Patch your ASP.NET servers ASAP early this morning, I didn’t have time to research the full extend of the vulnerabilities published at 28C3 (slides, mp4), though a small bell was ringing a message that I had seen something like it before earlier this century. I was right, this ...
2
votes
Applying XE2 Update 3: uninstall IDE Fix Pack first, then apply, then install updated IDE Fix Pack. Also update EurekaLog.
The Wiert Corner
– Before installing updates, it is always wise to read the release notes. In this case, the below quote from the Release Notes for XE2 Update 3 was very important for me, as I use the IDE Fix Pack: IDE Fix Pack Is Not Compatible with Update 3 The IDE Fix Pack for XE2 is incompatible with XE2 Update 3. ...
7
votes
Delphi XE2 and iOS: things you should not do
The Wiert Corner
– When developing applications for iOS using Delphi XE2, it uses a smart but convoluted FPC detour. That results in a few things you should take into account when developing iOS applications: Do not use Unit scope identifiers (that’s why for instance the FireMonkey unit FMX.Dialogs is called ...
7
votes
Asphyre Sphinx 2: X-platform game development for Delphi XE2 and/or FPC
The Wiert Corner
– Just found out that during my holiday, Asphyre Sphinx 2 was released: a free 2D/3D framework for X-platform game development that comes with full source code. It is based on FireMonkey supports Delphi XE2 Update 1 and up, and FPC (and yes: it supports on iOS too). Interesting stuff! –jeroen ...
2
votes
Trouble with Google Reader and GEXperts RSS feed :)
The Wiert Corner
– While catching up my feeds after an astonishing holiday around the Antarctic Peninsula (some photos at Flickr), I bumped into a Google Reader issue with the GExperts.com RSS feed: all posts seem to be stamped 20111117T0555. Funny, as I remember being late to report GExperts 1.35 for Delphi XE2 was ...
2
votes
When writing applications, include Keyboard Shortcuts for both the CUA and Windows/Apple shortcuts
The Wiert Corner
– When you write applications, it is important to include both the CUA and the Windows/Apple keyboard shortcuts, and get the tab order of keyboard accessible user elements right. Many modern applications seem to put less and less emphasis on the most efficient user input device: the keyboard. You ...
4
votes
File Extensions of Files Generated by RAD Studio – RAD Studio XE2
The Wiert Corner
– With Delphi 1, it was easy to choose what to put in your version control systems: basically .pas, .dfm, .dpr, .inc, .res, .cfg and you were set. Now there are many more extensions involved, so it is harder to choose what to put in your version control system and what not. The File Extensions of ...
November 2011
9
votes
Matrix library by Michael Rabatscher with many features and x86/x64 optimizations
The Wiert Corner
– This one is on my Delphi research list for sure: a matrix library including some advanced operations like singular value or LU decomposition, pseudo inversion and others as well as a large set of assembler hand optimized matrix primitive functions. The assembler version are available for x64 code as ...
0
votes
Jamie’s Blog | MQTT Client Library for Delphi
The Wiert Corner
– Another way to talk to WebSphere MQ from Delphi is to use the MQTT Client Library for Delphi. It encapsulates the MQTT protocol, which – being a telemetry transport protocol – is extremely light weight, but also versatile. –jeroen Via: Jamie’s Blog | MQTT Client Library for ...
1
vote
In Delphi SHR is a SHR; in C >> is a SAR or SHR (via: Shift Right: Delphi vs C | Galfars Lair)
The Wiert Corner
– I never knew that >> in C was a SAR/SHR depending if the underlying integer type was signed/unsigned. In Delphi the SHR is always a SHR operation: it never takes into account the sign. SAR is the artithmetic shift right. SHR is the binary/logical shift right. –jeroen via: Shift Right: ...
0
votes
Delphi XE2 Unit Scope tables
The Wiert Corner
– Delphi XE2 introduces Unit Scopes. Below is a batch file that generates a CSV file with scopes and units. The file does not only contain the VCL, RTL and FMX units, but all units in the C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\source\ directory tree. From the CSV, I generated two tables at ...
1
vote
Deep Object Comparison Delphi – Stack Overflow
The Wiert Corner
– Last week there was an interesting question on Deep Object Comparison Delphi at Stack Overflow. Two nice answers: Recursive new style RTTI based solution (comparing all data) Streaming using OmniXML and comparing the output (comparing only the relevant data) –jeroen Filed under: Delphi, ...
3
votes
Allocating 4Gb+ of memory in x64 using Delphi XE2 Update 2: Unofficial fix for QC#100726 …
The Wiert Corner
– If you are creating x64 applications using Delphi XE2, have Update 2 installed, and are (potentially) allocating more than 4Gb of memory (QC report 100726), then you need the Unofficial fix for QC#100726, or use the latest version of FastMM (see below). If you use Delphi XE2 (original release) or ...




