Mail Archives: djgpp/2002/04/19/02:58:22
Hello,
I'm writing a class that uses pointers and I want to check if all of them
are destroyed correctly, so I'm looking for a function that gives me some
information about the memory available or memory used to check if at the
program starts and the program ends the memory available is exactly equal.
I don't know how memory management is implemented in programs compiled with
djgpp, I've looked the _go32_dpmi_get_free_memory_information function in
go32.h but I've make a test to get that information before and after making
MyObject* obj = new MyObject; and I get the same results viewing the field
available_physical_pages in _go32_dpmi_meminfo structure.
May be I'm checking in the wrong place.
(I remember in bc++ 3.1 that I've used the function coreleft)
Anyone knows how can I get that information?
Thanks in advance!
R. Grela
- Raw text -