realbasic-nug
[Top] [All Lists]

Re: [ANN] LeakCheck Classes 2005 Pre-Release v0.1a

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: [ANN] LeakCheck Classes 2005 Pre-Release v0.1a
From: Mark Nutter <manutter51 at yahoo dot com>
Date: Wed, 30 Nov 2005 13:05:30 -0800 (PST)
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pZvVjiKPCF3AgN0b4pxuTwF/a+8MP7CZGtvDYegBHALCqGNH3bwRP3UKMz0kL6qjLCvUaiYtWhK5ygpc1mGX6RVKu29f8aJi3T3E/ZS0d7X7AK/m9YrIAsnmgeUCvxl6gI+t0hBWbgHl4Ghfi0KDDpcODDkTRu7LquJeJ8mD5Eo= ;

--- 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>

<Prev in Thread] Current Thread [Next in Thread>