Mail Archives: djgpp/1998/02/12/18:03:26
Hello!
My problem goes as follows:
I have quite complex dynamic data-structures and want to control if they
are removed correctly from memory when I quit my program.
What function can I use to check how many memory is still available to
check if itīs the same as when the program starts?
I tried it with something like _go32_remaining_virtual_memory and
..physical.. but it didnīt produce the expected results. When I wanted
to allocate 90000 bytes the remaining memory was reduced by 3*65536. I
can figure out, that maybe go32 allocates in 65536 chunks, but where do
I get the EXACT value?
Is there a simple answer or a faq about it?
Where is the difference between _go32..., _djgpp... and _dpmi... ? Some
functions seem to produce the same results? Which should one prefer? Or
is there always a small difference between similar results?
Thanks a lot for clearing this fog for me,
Christian
- Raw text -