Visit site The Wiert Corner

July 2020

1
vote
Vote UpVote

delphi – How do I build an array of const? – Stack Overflow

The Wiert Corner – As I one day likely need to pas a dynamically created array of const from scratch (which behind the scenes actually is an array of TVarRec, where each element is, TVarRec which is a variant record that can have both values and pointers to values. So the result will be kind of a mess (: Further ...
Details Favorite? Off-Topic? jpluimers @ 2020-07-02 19:02
0
votes
Vote UpVote

Specifying the msbuild configuration for a Delphi project on the commandline – twm’s blog

The Wiert Corner – Reminder to self: check my own build configurations as there is a difference for Delphi 2007 and Delphi >= 2009: [WayBack] Specifying the msbuild configuration for a Delphi project on the commandline – twm’s blog. Thomas indicate that: Delphi 2007 uses /p:Config=Debug (or Release) Delphi ...
Details Favorite? Off-Topic? jpluimers @ 2020-07-02 07:02

June 2020

0
votes
Vote UpVote

Delphi Exception handling code review reminders

The Wiert Corner – I bumped into [WayBack]When an exception is nil in the exception handler – twm’s blog for some legacy code a while ago. Some code review reminders: raise Exception( is always wrong: no exception instance is created Exception.Create( without a raise is wrong most of the times except end is ...
Details Favorite? Off-Topic? jpluimers @ 2020-06-18 13:04
0
votes
Vote UpVote

Chr equivalent for Unicode in Delphi 7 – Stack Overflow

The Wiert Corner – From a long time ago: [WayBack] chr equivalent for Unicode in Delphi 7 – Stack Overflow answered by David Heffernan: Q I need to initialize a Widestring in Delphi 7 but I can’t use chrfunction which is ANSI var ws : Widestring; begin ws := chr($FFFF) + chr($FFFF) + chr($FFFF); end; ...
Details Favorite? Off-Topic? jpluimers @ 2020-06-17 19:04
0
votes
Vote UpVote

Dynamically instantiating instances in Delphi without knowing their full type is hard

The Wiert Corner – For my reading list: [WayBack] So am working on a particular .NET project and came across NewtonSoft JSON.NET Serializer, it allows you serialize Collections such as a generic list an… – Ugochukwu Mmaduekwe – Google+: Stefan Glienke: Serializing and mostly deserializing generics in ...
Details Favorite? Off-Topic? jpluimers @ 2020-06-17 13:04
0
votes
Vote UpVote

Delphi AMQP links

The Wiert Corner – Some links I found about Delphi and AMQP. AMQP Advanced Message Queuing Protocol – Wikipedia [WayBack] OASIS Advanced Message Queuing Protocol (AMQP) Version 1.0, Part 0: Overview [WayBack] OASIS Advanced Message Queuing Protocol (AMQP) Version 1.0, Part 0: Overview [WayBack] OASIS Advanced ...
Details Favorite? Off-Topic? jpluimers @ 2020-06-11 19:04
1
vote
Vote UpVote

Don’t mix objects and interfaces

The Wiert Corner – Worth repeating Dalija Prasnikar, because I bumped into sources of people not getting this concept: [WayBack]: Don’t mix objects and interfaces. You should not, but sometimes it is hard not to. The rules in his article are very important as they indicate what’s safe and what’s not: ...
Details Favorite? Off-Topic? jpluimers @ 2020-06-11 07:04
1
vote
Vote UpVote

Thread.Destroy deadlocks in finalization of COM+ dll’s…

The Wiert Corner – Reminder to self that this is still broken: [WayBack] Thread.Destroy deadlocks in finalization of COM+ dll’s This serious bug still exists in Delphi 10.2 after 12 years being reported! http://qc.embarcade… – 丽丽乌克 – Google+ Original report: WayBack1: QC Report # 29843 ...
Details Favorite? Off-Topic? jpluimers @ 2020-06-04 19:04
1
vote
Vote UpVote

Some links on hooking anonymous methods to Delphi events

The Wiert Corner – On my reading list are these: [WayBack] Is there a way in Delphi to assign an anonymous method to a button event? – Stack Overflow [WayBack] delphi – VCL events with anonymous methods – what do you think about this implementation? – Stack Overflow [WayBack] delphi – ...
Details Favorite? Off-Topic? jpluimers @ 2020-06-03 19:04
1
vote
Vote UpVote

Are there any static code analysis tools for Delphi/Pascal? – Stack Overflow

The Wiert Corner – Still interesting question: [WayBack] Are there any static code analysis tools for Delphi/Pascal? – Stack Overflow The basic problem here is that there is no formal language definition for the Delphi or Object Pascal language. [WayBack] GitHub – RomanYankovsky/DelphiAST: Abstract syntax ...
Details Favorite? Off-Topic? jpluimers @ 2020-06-02 19:04
0
votes
Vote UpVote

SysUtils.pas Why parameters of these anonymous not const? TProc = …

The Wiert Corner – At [WayBack] SysUtils.pas Why parameters of these anonymous not const? TProc = reference to procedure (Arg1: T1; Arg2: T2); TProc = reference … – Jacek Laskowski – Google+, Hallvard Vasbotn made this nail on the head comment: It could have been solved if the const’ness had been ...
Details Favorite? Off-Topic? jpluimers @ 2020-06-02 13:04

May 2020

1
vote
Vote UpVote

Need to look at monospaced programmers fonts again

The Wiert Corner – At the time of looking, FiraCode would not work in Delphi but would in Visual Studio. Reminder for me to look at it again: [WayBack] GitHub – tonsky/FiraCode: Monospaced font with programming ligatures. A cool feature of the font is that it has ligatures for common multi-character combinations ...
Details Favorite? Off-Topic? jpluimers @ 2020-05-27 07:04
1
vote
Vote UpVote

Why the compiler generates a `”E2018 Record, object or class type required”` on typed types…

The Wiert Corner – From [WayBack] Why would the compiler generate a "E2018 Record, object or class type required" helper when I use a ToUpperInvariant (or any TStringsHelper call) on t… – Jeroen Wiert Pluimers – Google+: Why would the compiler generate a "E2018 Record, object or class type required" ...
Details Favorite? Off-Topic? jpluimers @ 2020-05-21 13:02
1
vote
Vote UpVote

GitHub – NickRing/Delphi-Shortcut-Finder: Shows/find keyboard short-cuts have be assigned, that may be conflicting.

The Wiert Corner – Reminder to self to eventually try to merge this into GExperts: [WayBack] GitHub – NickRing/Delphi-Shortcut-Finder: Shows/find keyboard short-cuts have be assigned, that may be conflicting. And a reminder to ensure if I ever bump into XE7 again, I need to ensure it is at least update 1: ...
Details Favorite? Off-Topic? jpluimers @ 2020-05-20 07:02
1
vote
Vote UpVote

delphi – always pass SEM_FAILCRITICALERRORS to SafeLoadLibrary

The Wiert Corner – The below is based on [WayBack] delphi – Is there any way to catch the error if loading a dll cannot find a dependency? – Stack Overflow which I got via: [WayBack] Error regarding rtl240.bpl not found in stand alone version of GExperts Grep – twm’s blog [WayBack] Do not call ...
Details Favorite? Off-Topic? jpluimers @ 2020-05-19 07:02
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)