--- Phil M <phil at mobleybros dot com> wrote:
> On Nov 30, 2005, at 12:18 PM, Mark Nutter wrote:
>
> > Yeah, it makes sense, and I wanted that too.
> Unfortunately the
> > Runtime object supplies you with the given
> object's ID and class,
> > but it doesn't give access to the object itself or
> any of the
> > object's other attributes. It would be nice if
> there was a method
> > you could use that you could pass the ObjectID to
> and get back the
> > actual object (or rather, a Variant containing the
> object). On the
> > other hand, if you actually used that in a
> LeakCheck module, you'd
> > be creating additional references to the object,
> possible creating
> > memory leaks! Caveat coder. ;)
> >
> > It's not an insurmountable obstacle; I suppose I
> could put in a
> > feature request. [Opens RS Feedback in another
> window...]
>
> The only objection that I have to that is... this
> would provide
> access to objects that are Protected or Private in
> scope and might be
> problematic for those that sell encrypted REALbasic
> solutions and
> possibly REALbasic plugins as well.
Hmm, that's a thought. What would you do with it,
though? You still couldn't call any of its methods or
access any of its properties. You'd have a reference
to it, but all you could do with it would be to check
it with IsA, Is, or "=" against other objects or
classes. Right?
Mark Nutter
Quick and easy regex creation and debugging!
http://www.bucktailsoftware.com/products/regexplorer/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|