Visit site The Wiert Corner

May 2019

3
votes
Vote UpVote

delphi – Sorting TDictionary by a key of Integer in ascending order – Stack Overflow

The Wiert Corner – Great answer on [WayBack] delphi – Sorting TDictionary by a key of Integer in ascending order – Stack Overflow by J… comes down to this: var LDictionary : TDictionary<Integer, string>; LArray : TArray<Integer>; ... LArray := LDictionary.Keys.ToArray(); ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-30 07:04
1
vote
Vote UpVote

GExperts Help: Copy component names

The Wiert Corner – I totally forgot this expert existed [WayBack] GExperts Help: Copy component names –jeroen
Details Favorite? Off-Topic? jpluimers @ 2019-05-29 19:02
1
vote
Vote UpVote

TInterlocked.Exchange for interfaces?

The Wiert Corner – Via [WayBack] TInterlocked.Exchange for interfaces? Since there is no System.SyncObjs.TInterlocked.Exchange overload for interfaces (and the Exchange versio… – Stefan Glienke – Google+ It has made it to this piece in [Archive.is] sglienke / Spring4D / source / Source / Reactive / ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-29 07:03
1
vote
Vote UpVote

IDE Fix Pack 5.92 keyboard binding for finding references

The Wiert Corner – Since I keep forgetting this piece of IDE Fix Pack 5.92 released – DelphiFeeds.com The new version 5.92 now binds Ctrl+Alt+Enter to “Find References” and introduces Shift+Ctrl+Alt+Enter for “Find Local References”. No shortcut toggling anymore. –jeroen
Details Favorite? Off-Topic? jpluimers @ 2019-05-28 19:03
1
vote
Vote UpVote

Starting points for JSON unmarshaller, that applies a JSON string to an existing object…

The Wiert Corner – Interesting subject: [WayBack] I am looking for a JSON unmarshaller, that takes the JSON string and apply it to the object (and not take an object and try to apply the JSON to it). E… – Nicholas Ring – Google+ A start by Stefan Glienke: [WayBack] JsonDataObjectUnmarshall — ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-28 07:02
1
vote
Vote UpVote

Useful settings for FastMM4 to tracking bottlenecks in multi-threaded memory allocation

The Wiert Corner – Interesting thread that reminded me of the relatively new FastMM feature to track down lock contention and cope with it using release stacks: [WayBack] I try use FastMM4 to tracking bottleneck in allocating memory. I was inspired by this Primož movie: https://www.youtube.com/watch?v=p-5mJyXvmrc When ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-23 07:03
1
vote
Vote UpVote

web services – Accessing the original TWebRequest object in a Delphi SOAP Server – Stack Overflow

The Wiert Corner – Thanks Ondrej Kelle for answering this: uses System.SysUtils, Web.HTTPApp, Soap.WebBrokerSOAP; function TTest.CallMe: string; var WebDispatcher: IWebDispatcherAccess; begin Result := ''; if Supports(GetSOAPWebModule, IWebDispatcherAccess, WebDispatcher) then Result := Format('You ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-22 07:03
1
vote
Vote UpVote

Delphi XE8 introduced the dependency directive, but it’s not for Windows

The Wiert Corner – Interesting thread that shows Delphi XE8 introduced a dependency directive: [WayBack] Just curious, in which version was the dependency directive introduced? As in procedure X; external ‘somelib’ dependecy ‘otherlib’; S… – Johan Bontes – Google+ It’s ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-21 07:02
0
votes
Vote UpVote

The Initialization-Block of a unit that is part of a package. Is it run as part of DLLMain?

The Wiert Corner – The interesting question a while back [WayBack] The Initialization-Block of a unit that is part of a package. Is it run as part of DLLMain? – Alexander Benikowski – Google+ has a simple TL;DR answer: “it depends” on the actual usage of those units. Way more elaborate, as I ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-16 13:04
0
votes
Vote UpVote

How to Design Early Returns in C++ (Based on Procedural Programming) – Fluent C++

The Wiert Corner – One more thing to take away from Procedural Programming: It’s Back? It Never Went Away – Kevlin Henney [ACCU 2018] – YouTube was explained in [WayBack] How to Design Early Returns in C++ (Based on Procedural Programming) – Fluent C++. Though in C++, it applies to all programming languages that ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-15 19:04
0
votes
Vote UpVote

Need to try this: overloaded default properties

The Wiert Corner – [Archive.is] Need to try this: … multiple default index properties having the same name …getters can be overloads … resolve …by type signature … – Thomas Mueller (dummzeuch) – Google+, thanks to marck for this brilliantly simple example: private function ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-15 07:04
0
votes
Vote UpVote

More Delphi debug visualizers

The Wiert Corner – I hope that by now they are available for more Delphi versions: [WayBack] A new test release of my dzDebugVisualizers for Delphi 2005, 2006 and 2007 is available. Apart from fixing an Access Violation when unloading the package… – Thomas Mueller (dummzeuch) – Google+ added ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-07 13:04
0
votes
Vote UpVote

Registering/unregseting Windows file associations with Delphi

The Wiert Corner – As I need this one day: [WayBack] Just in case I need this again… >Free library DSiWin32 … now implements this as DSiRegisterUserFileAssoc and DSiUnregisterUserFileAssoc <… – Thomas Mueller (dummzeuch) – Google+ Note file has moved from WayBack: ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-02 19:04
1
vote
Vote UpVote

GExperts: searching for case-insensitive “T*List.Create” but not “TStringList.Create”

The Wiert Corner – Just learned that partial exclusion can be done with the case-insensitive GExperts Grep Search like this: T[^s][^t][^r][^i][^n][^g].*List.*\.Create This will skip TStringList.Create, but matches TMyList.Create. I’d rather have done something like this, but the Delphi RegEx does not support ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-02 13:04
0
votes
Vote UpVote

Note that the Delphi superobject library has changed to “not maintained” in december 2018, has problems with large address aware

The Wiert Corner – A while ago I found out the [WayBack] not maintained status · hgourvest/superobject@f1c42db · GitHub. This means you should not use the [WayBack] superobject JSON library in Delphi any more: there won’t be any fixes. Many people use it, especially because it used to be much more stable than ...
Details Favorite? Off-Topic? jpluimers @ 2019-05-02 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)