P
Peter Judge
Guest
It would be nice to have an OBJECT-REF( ) function similar to the WIDGET-HANDLE() function, but you can roll your own, traversing the SESSION’s FIRST-OBJECT tree. The time cost of traversal doesn’t seem excessive but obviously it’s linear and will depend on the number of objects currently instantiated. There’s a static ResolveWeakReference method in the OpenEdge.Core.Session class that does this for you. In 11.7.4 there’ll also be a WeakReference class in that same package that helps a little more with weak references.
Continue reading...
Continue reading...