Visit site The Wiert Corner

April 2019

0
votes
Vote UpVote

Getting rid of bugs: mark them as “new feature” – as cancelling a  THTTPClient.BeginGet() does not work as intended

The Wiert Corner – I have seen this happen before, but it seems to be a habit on the Quality Portal: getting rid of bugs by marking them as [WayBack] I’m using THTTPClient.BeginGet() to create an async get request to a webservice that holds a connection open until it has data to return (sort of like a… ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-24 19:04
0
votes
Vote UpVote

Where do you place your unit uses?

The Wiert Corner – Over the years, I have had the question of where to put uses list entries a lot. Last year, there was one again from a very experienced developer: [WayBack] Where do you place your unit uses? Over the years, I’ve come to preferring to place my uses in the Interface section only, even if its ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-18 19:04
0
votes
Vote UpVote

Just found out about the SysUtils.FindCmdLineSwitch Function

The Wiert Corner – I learn new things every day. So today I learned about [WayBack] SysUtils.FindCmdLineSwitch Function, which was introduced in Delphi 4, but I was still messing with ParamCount/ParamStr loops. It as not changed over time. The above docs are Delphi 2007, and these are some of the newer: [WayBack] ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-17 19:04
0
votes
Vote UpVote

Debugging RTL/VCL Code with CodeSite – Dave’s Development Blog

The Wiert Corner – This is so cool! [WayBack] Debugging RTL/VCL Code with CodeSite – Dave’s Development Blog. It comes down to performing CodeSite.Send(...) calls as evaluation expressions in non-breaking breakpoints. Ensure you have the CodeSite.Logging unit in your uses lists and you’re good to go. ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-17 07:04
0
votes
Vote UpVote

Delphi annoyance: in debug mode, no breakpoints are being adhered to, no blue bullets

The Wiert Corner – For all Delphi Galileo versions (the BDS based Delphi versions: 8 until now), I have bumped into this annoyance: Over time, while working on an application, running it in DEBUG mode in the debugger, wil not fire any breakpoints and all blue bullets (meaning the lines have code generated) are gone. ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-16 19:05
0
votes
Vote UpVote

delphi – IfThen(Assigned(Widget), Widget.Description, ‘No Widget’) doesn’t crash. Should it? – Stack Overflow

The Wiert Corner – Very interesting question [WayBack] delphi – IfThen(Assigned(Widget), Widget.Description, ‘No Widget’) doesn’t crash. Should it? – Stack Overflow. Three important things here: depending on inlining and kind of arguments, function calls can evaluate their arguments one ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-16 07:04
0
votes
Vote UpVote

including enumerations and JPEG compression examples for wPDF 4 Manual: Compression related properties

The Wiert Corner – Since I was tracking down an issue having to to with generating DIB in a compressed PDF: [Archive.is] wPDF 4 Manual: Compression related properties Property CompressStreamMethod By modifying this property you can let the PDF engine compress (deflate) text. By using compression the file will be ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-11 19:04
1
vote
Vote UpVote

Some notes on Testinsight Issues

The Wiert Corner – So I won’t forget: [WayBack] sglienke / TestInsight / issues / #82 – Not work with active test project — Bitbucket When you have a project group that has multiple TestInsight enabled projects, the active one is being used. When there is no active TestInsight project in a project group, ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-10 19:05
1
vote
Vote UpVote

ILockable/TLockable/Lockable. Similar to IManaged in Spring4D, but provides a Locked interface.

The Wiert Corner – Had to use this to start solving threading issues in a project I inherited a while ago in a temporary way before doing a huge refactoring. Will likely need it in the future as well: ILockable/TLockable/Lockable. Similar to IManaged in Spring4D, but provides a Locked interface.. ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-10 13:04
0
votes
Vote UpVote

Detecting the Delphi edition that is installed

The Wiert Corner – Via [WayBack] In what ways can you detect which edition of Delphi in installed from the installed files? I’m trying to distinguish between Standard, Professional, E… – Jeroen Wiert Pluimers – Google+ Different Delphi editions have different msbuild support files. For instance ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-09 19:04
0
votes
Vote UpVote

When generics and VCL controls bite you: memory overwrites when you show the control usually ending up in access violations

The Wiert Corner – Recently I got bitten by the 2013 reported http://qc.embarcadero.com/wc/qcmain.aspx?d=112101 (too bad the site is gone and the WayBack machine doesn’t have it archived) as a result of [WayBack] delphi – Why do I get access violations when a control’s class name is very, very long? ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-09 07:04
0
votes
Vote UpVote

Detecting if a debugger is present is different from detecting if an IDE is present.

The Wiert Corner – I have seen this happen in various environments: people wanting to detect if their debugger is present, but trying to detect their IDE, or vice versa. Similar reasoning is for detecting for being running on a console, or your project having been built to run on a console. People use these decisions, ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-04 19:04
0
votes
Vote UpVote

Firemonkey/Isometric at master · tothpaul/Firemonkey

The Wiert Corner – This shows you how to do 2.5D isometric projection in Delphi using Firemonkey: [WayBack] Firemonkey/Isometric at master · tothpaul/Firemonkey. [WayBack] Isometric projection – Wikipedia. Via: [WayBack] I wonder what the best approach would be to use FireMonkey to develop an isometric 2.5D game ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-04 13:04
0
votes
Vote UpVote

Delphi: do NOT use duplicate GUIDs on interfaces

The Wiert Corner – One of the things when fixing bugs in an old codebase is wading through technical debt. A quick win is to get rid of duplicate GUIDs when interface portions have been copy-paste re-used: interfaces with the same GUID are treated the same with as casts even if they are different. the compiler does ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-04 07:04
0
votes
Vote UpVote

Delphi, attributes, RTTI and the IDE

The Wiert Corner – Reminder to self: [WayBack] It took me a while to address an awful IDE crash issue. If you install a design time package which uses RTTI to populate custom attributes declared in… – Baoquan Zuo – Google+ TL;DR: be very careful using the built-in RTTI support objects as when they ...
Details Favorite? Off-Topic? jpluimers @ 2019-04-03 07:04
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)