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
5 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
5 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0
jpluimers
I bumped into [WayBack]When an exception is nil in the exception handler – twm’s blog for some legacy code a while ago. Some code review reminders: raise Exception( is always wrong: no exception instance is created Exception.Create( without… … Read more
5 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0