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