P
Peter Judge
Guest
You can add a field to ttCollect that holds object references (FIELD oObject AS Progress.Lang.Object) . You don’t even need to turn off GC since you’re now holding a reference
You can turn off GC via the -noGC switch. FOR EACH ttCollect: DELETE OBJECT hObject NO-ERROR. // new line DELETE OBJECT oObject NO-ERROR. END. If you’re using 11.6.3 (I think) the OpenEdge.Core.WidgetHandle object can delete the handle it wraps automatically objHandle = NEW OpenEdge.Core.WidgetHandle(hdlProcedure, true). MESSAGE "Destroy=" objHandle:AutoDestroy. // Destroy=TRUE
Continue reading...
Continue reading...