The Wiert Corner – irregular stream of stuff

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

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

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

    Join 4,262 other subscribers

Archive for May 29th, 2019

GExperts Help: Copy component names

Posted by jpluimers on 2019/05/29

I totally forgot this expert existed [WayBackGExperts Help: Copy component names

–jeroen

Posted in Delphi, Development, Software Development | Leave a Comment »

Conference Call Bingo – E Gilliam

Posted by jpluimers on 2019/05/29

Cool: [WayBack] Conference Call Bingo

Via: [WayBack] Conference Call Bingo Origin: https://www.facebook.com/photo.php?fbid=10213521201006095 – Lars Fosdal – Google+

–jeroen

Posted in Development, Software Development | Leave a Comment »

TInterlocked.Exchange for interfaces?

Posted by jpluimers on 2019/05/29

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.issglienke / Spring4D / source / Source / Reactive / Spring.Reactive.pas — Bitbucket:

class function TInterlockedHelper.Exchange<T>(var Target: T;
  const Value: T): T;
begin
  Result := Default(T);
  PPointer(@Result)^ := Exchange(PPointer(@Target)^, PPointer(@Value)^);
  if Assigned(Value) then
    Value._AddRef;
end;

It is similar to the TInterlocked.Exchange methods.

–jeroen

 

Posted in Delphi, Development, Software Development | Leave a Comment »