home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / programm / 7058 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  1.3 KB

  1. Path: sparky!uunet!know!hri.com!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!rpi!scott.skidmore.edu!psinntp!psinntp!cubetech.com!imladris!andrew
  2. From: andrew@cubetech.com
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: NXBundle functionality
  5. Keywords: unloading Classes
  6. Message-ID: <1992Nov5.065443.1892@cubetech.com>
  7. Date: 5 Nov 92 06:54:43 GMT
  8. References: <1992Nov3.173929.22960@pencom.com>
  9. Organization: Cube Technologies, Inc.
  10. Lines: 20
  11.  
  12. In article <1992Nov3.173929.22960@pencom.com> alt.rush-limbaugh writes:
  13. >Hi,
  14. >Does anyone out here know how to unload a class once it is read in via the  
  15. >NXBundle classNamed: method. I tried some of the runtime functions like  
  16. >objc_unloadModules() to no avail. 
  17. >The NXBundle class will not let you free a bundle that has dynamically  
  18. >loaded a class so even after using the runtime function  the bundle I got  
  19. >from an initForDirectory: was the one I previously had tried to free. This  
  20. >"new" bundle is under the assumption that the class was already loaded.
  21. >Any help would be great.
  22.  
  23. I'm pretty sure that you cannot unload a class once you load it from
  24. the bundle.
  25.  
  26.  
  27. andrew
  28. -- 
  29. andrew@cubetech.com     | "Carpe Nocturn - I get more work done after
  30. Andrew Loewenstern      |  2 a.m. than most people do all day."
  31. Cube Technologies, Inc. |                          - Simson Garfinkle
  32.