The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @cden4: What I hate the most about projections is that they assume that the future is something that only happens due to outside forces,… 12 minutes ago
    • RT @isotopp: @cden4 For a few years, I was planning data centers. For planning, I had to collect consumption data and extrapolate, using ti… 13 minutes ago
    • @ton_aarts Helemaal eens en dank je wel. Is het OK als ik tegen die tijd af en toe met wat vragen kom? 45 minutes ago
    • RT @thebestsocialNL: Hallo, jullie favoriete vloggers @bramdewijs en @matijn waren te gast in The Best Social Podcast. Dat is vastgelegd do… 58 minutes ago
    • @ton_aarts Dat is echt cool. Staat al heel lang op mij eigen research lijst. Misschien tijdens het lange herstel van de komende operatie... 1 hour ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,836 other followers

Archive for June 20th, 2018

Two cool features of the TestInsight treeview – navigate and copy

Posted by jpluimers on 2018/06/20

TestInsight is a great tool for automatically running your unit tests and seeing the results to make you more productive.

Two of the results treeview features you might not know make you even more productive:

  • After selecting a node, pressing Ctrl-C will copy the content as text to the clipboard
  • Double clicking will bring you to the unit test in your source code

You can get TestInsight at sglienke / TestInsight — Bitbucket


Posted in Conference Topics, Conferences, Delphi, Development, Event, Software Development | 1 Comment »

Class helpers and virtual methods – E2003 Undeclared identifier: ‘QueryInterface’/ ‘_AddRef’/’_Release’

Posted by jpluimers on 2018/06/20

Reminder to self: if you want to stay compatible with old (Pre Delphi XE) source code, then do not use virtual methods in class helpers.

Technically you can, as class helpers can inherit from other class helpers, but this is only supported as of Delphi XE.

In lower versions you get these errors as apparently the Delphi compiler tags an IInterface to the class helper compiler result:

[Error] Project1.dpr(14): E2003 Undeclared identifier: 'QueryInterface'
[Error] Project1.dpr(14): E2003 Undeclared identifier: '_AddRef'
[Error] Project1.dpr(14): E2003 Undeclared identifier: '_Release'

Source: [WayBackQualityCentral 9782


Posted in Delphi, Development, QC, Software Development | 2 Comments »

%d bloggers like this: