jpluimers
A few tips. Set breakpoints in these units: System.pas: procedure _AbstractError; begin if Assigned(AbstractErrorProc) then AbstractErrorProc; RunErrorAt(210, ReturnAddress); end; System.SysUtils.pas: procedure AbstractErrorHandler; begin raise EAbstractError.CreateRes(@SAbstractError); end; add a watch for ClassName that has “Allow side… … Read more
4 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0
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