home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pageworks.com!world!eff!iWarp.intel.com|ogicse!das-news.harvard.edu!husc-news.harvard.edu!husc9!winer
- From: winer@husc9.Harvard.EDU (Adam Winer)
- Newsgroups: comp.sys.mac.programmer
- Subject: LDispose problem!
- Message-ID: <1992Nov12.115406.17372@husc3.harvard.edu>
- Date: 12 Nov 92 16:54:05 GMT
- Article-I.D.: husc3.1992Nov12.115406.17372
- Sender: winer@husc9 (Adam Winer)
- Distribution: world
- Organization: Harvard University Science Center
- Lines: 26
- Nntp-Posting-Host: husc11.harvard.edu
-
- I've been having a problem with LDispose. I'm using a
- custom LDEF, and using the debugging tool DisposeResource that
- Apple has on their ftp server. For those unfamiliar with this
- INIT, it breaks into the debugger if you every try to call
- DisposHandle on a handle with the resource bit set.
-
- Anyway, it's telling me that whenever I call LDispose, LDispose
- is disposing of a resource handle, but only when I call LDispose
- on a list with the custom LDEF. This custom LDEF uses no
- storage of its own (i.e., it ignores initialization and close
- messages). Moreover, DisposeResource claims that this happens
- twice per resource call.
-
- My question is: is there something wrong with my program,
- or is there a mistake in either the List Manager or DisposHandle?
- The only resource that could be disposed of (that I can think of)
- is the LDEF resource. But then how am I responsible for it
- being disposed?
-
- Thanks a lot,
- Adam
-
- --
- Adam Winer | The number you have reached is imaginary.
- WINER@HARVARD.EDU | Please rotate your phone 90 degrees and
- | try again.
-