jpluimers
Still not sure why the RTL code is like this: procedure TRemotable.SetDataContext(Value: TDataContext); begin if (RemotableDataContext <> nil) and (RemotableDataContext = Self.DataContext) then begin TDataContext(RemotableDataContext).RemoveObjectToDestroy(Self); end; FDataContext := Value; end; It means that if you… … Read more
4 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0
jpluimers
Cool post: [WayBack] Register and use a custom clipboard format in Delphi – twm’s blog. It is about transmitting GPS (WGS 84) coordinates from one program to another via the clipboard. One day I will… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
These are quite OK: [WayBack] GitHub – colinj/TDateTimeHelper: Helper record for TDateTime type in [WayBack] DateTimeHelper.pas with DUnitX tests in [WayBack] TDateTimeHelper.Tests.pas. Via: [WayBack] Does Delphi XE 10.2.2 ship with type helpers … … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Few people seem to know about the FastMM PushAllocationGroup method. This search returned almost nothing: fastmm PushAllocationGroup -site:github.com -site:sourceforge.net -site:stackoverflow.com – Google Search. These results were convoluted: fastmm PushAllocationGroup site:sourceforge.net – Google Search fastmm PushAllocationGroup site:stackoverflow.com – Google… … Read more
4 years ago in Conference Topics, Conferences, Delphi, Development, Event, FastMM, Software Development0
jpluimers
If not done yet, try to improve this: [WayBack] Optional sort by name in LogMemoryManagerStateToFile · Issue #64 · pleriche/FastMM4 · GitHub –jeroen … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
From a while ago, and – being on the back-end side mostly – I sometimes forget: [WayBack] delphi – Can I use an Edit Mask to format output? (not just validate input) – Stack Overflow… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Always interesting to see what others put on their Windows development systems, for instance: [WayBack] My toolkit – Roald’s blog Everytime I (re)install my development computer I need to think about all the tools I… … Read more
4 years ago in .NET, Delphi, Development, Software Development, Windows Development0
jpluimers
An old trick that I tend to forget: [WayBack] delphi – How to convert a null terminated string to string? – Stack Overflow: You can assign a null-terminated PChar directly to a String: function GetFileName(DiskName: TFileNameIO): string; begin… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
On Windows, filenames do not like some characters (including : and +), so this is a quick way to get a timestamp into ISO8601 format that is compatible with filenames. TimeStamp := Now(); StartIso8601String := DateToISO8601(TimeStamp,… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
A still relevant part for [WayBack] Class methods in Record vs Class in Delphi 2010+ – Stack Overflow is the distinction between class methods on both: on classes they can be either regular (no extra keyword),… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
There are various ways for Delphi code to verify what features are available. Historically, testing for the existence of VER### defines with $IFDEF or $IFNDEF is the oldest means, and as of Delphi 6, you… … Read more
4 years ago in Delphi, Development, Software Development, Turbo Pascal0