jpluimers
For my archive, as one day I will run into this Variant/DispInvoke issue myself:[WayBack] Delphi revelations #3 – kbmMW Smart client – DispInvoke leak – Components4Developers: Delphi revelations, now about investigating a pesky DispInvoke bug… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
I still have not figured out the circumstances, but ever since either the Unicode Delphi versions (2009 and up) or BDS (8 and up), I have this every now and then: [WayBack] Delphi: why breakpoints… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Since G+ is down, a lot of interesting questions have vanished. Luckily I saved some by [WayBack] Jacek Laskowski – Google+ related to Spring4D and dependency injection: [WayBack] Spring4D IoC and specific singleton… – Jacek Laskowski –… … Read more
4 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0
jpluimers
Not that this is bad code, but there are no unit tests for them, and I have seen places in the wild that blindly use it without documenting where it came from and what tested… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Needs the System.SysConst unit: procedure RaiseAbstractError(const aClass: TClass; const aMethodName: string); begin // more explanatory than AbstractErrorProc(); raise EAbstractError.CreateFmt(‘%s: method %s.%s’, [SAbstractError, aClass.ClassName… … Read more
4 years ago in Delphi, Development, Software Development0
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