Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sunybcs!boulder!ewing From: ewing@boulder.Colorado.EDU (EWING DAVID JAMES) Newsgroups: comp.sys.mac.programmer Subject: UnloadSeg() in ThinkC with TCL Message-ID: <16831@boulder.Colorado.EDU> Date: 11 Feb 90 03:58:28 GMT Sender: news@boulder.Colorado.EDU Reply-To: ewing@boulder.Colorado.EDU (EWING DAVID JAMES) Organization: University of Colorado, boulder Lines: 11 The question is: how do free up a segment with only class methods in it? One might expect 'UnloadSeg(CObject::Dispose);' to work, but it gives a compile error. There ought to be a way of taking the address of a method, but I can't find it (yes, I've looked in the manual). BTW, I could declare a dummy function in each segment and use that function for the call to UnloadSeg(), but it simply isn't elegant. Dave Ewing ewing@tramp.colorado.edu (128.138.238.33) ..!hplabs!boulder!onecom!tyvax!iftech!dave (My Mac IIx running uupc & MacOS!) AppleLink: D2408 (D2408@applelink.apple.com)