home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / tools / 776 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!agate!plutonium.CChem.Berkeley.EDU!matte
  2. From: matte@plutonium.CChem.Berkeley.EDU (Matt Rose)
  3. Newsgroups: comp.os.ms-windows.programmer.tools
  4. Subject: How to get DLLs out of memory.
  5. Message-ID: <17g1okINN76g@agate.berkeley.edu>
  6. Date: 26 Aug 92 13:42:44 GMT
  7. Distribution: usa
  8. Organization: University of California, Berkeley
  9. Lines: 17
  10. NNTP-Posting-Host: plutonium.cchem.berkeley.edu
  11.  
  12. I'm programming in BCW 3.1, and having a great ol' time of it.
  13.  
  14. However I do encounter the occasional crash, as does happen when developing
  15. code.  
  16. The problem is that if I crash after I've loaded a DLL I never have opportunity
  17. to call FreeLibrary(hLib);.  At least I think this is my problem.  The next tim
  18.  Load my DLL everything seems fine until I get to the point where I try
  19. to call one of the functions whose address I got with GetProcAddress().
  20. At this point I get a Not Present error in the DLL.
  21.  
  22. So... What up dude?
  23.  
  24. matt
  25.  
  26. -disclaimer
  27.     My ignorence and poor spelling in no way reflect the opinions of 
  28.     UC Berkeley.
  29.