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
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
A while ago, I needed the opposite of InvRegistry.RegisterInterface(TypeInfo(MySoapInterfacePortType, ‘urn:myURN’, ‘utf-8’);, so instead of registering an interface with a namespace URN, obtain the URN by passing the interface inverting [WayBack] TInvokableClassRegistry.RegisterInterface. This is the class… … Read more
4 years ago in Conference Topics, Conferences, Delphi, Development, Event, SOAP/WebServices, Software Development0
jpluimers
In addition to Shared/IShared, there is also Weak/IWeakReference in Spring.pas; these blog post explain more about them: Shared/IShared (search for {$REGION ‘Shared smart pointer’} at the current repository): [WayBack] Delphi sorcery: Smart pointers in Delphi Weak/IWeakReference (search for… … Read more
4 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0