I can't see how the existance of an .empty property should make any
difference.

If you .Create'd an object, you should .Free it too. Being .empty or
not shouldn't have anything to do with it

--- Alistair George <[EMAIL PROTECTED]> wrote:
> I am using a variant of bitmap which does not have the .empty
> property.
> On formclose I want to free this item, but there is no valid way to
> check
> its empty property eg
> TFastBMP.size/  tbmp.bmHeader.biSize and so on. So Freeing can be an
> invalid
> operation.
> So is this valid, or is it leaving an area of memory still being
> utilised?
>   tbmp:=nil; tbmp.Free;
> Tks,
> Al+
> 
>
---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> 
> 

_______________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com.au address at http://mail.yahoo.com.au

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to