> > I use TZipBuilder that is a CPP copy of TZipMaster and during tests on my > application CodeGuard reported a memory leak of 200 bytes after loading and > unloading any of the DLL's. > I repreated this kind of test with a DLL only containing "Hello World" > This example was copied out of the "C++ Builder Developer's Guide" > and again I got a 200 byte memory leak. > This figures match yours 200 x 500 = 100 000 bytes > > But I think the problem is not the UnzipDll but the LoadLibrary, > UnloadLibrary functions we use to load the DLL, and these are windows API > functions. This is a known and longstanding problem ( see replies by Jeff Overcash -TeamB ): http://groups.google.com/groups?hl=en&lr=lang_en&newwindow=1&threadm=3b26523 f%241_1%40dnews&rnum=1&prev=/groups%3Fselm%3D3b26523f%25241_1%2540dnews Angus