When I run the code below in builder 6, it outputs that before the allocation of int * n = new int[10000000], there are 6 heaps, and after there are 6 heaps, and they are the same sizes as before the allocation.
When I run this code in MSVS C++ 2008, there are four heaps, and one of them grows...
Hi, how can I get a handle to the CRT heap?
How does Borland Builder 6.0 implement the CRT heap? What version does it use if it uses the microsoft one?
What is the Borland equivalent of the _get_heap_handle() function which returns a handle to the CRT heap in a MSVS C++ environment?
thanks
Hi, while debugging in BCB 6.0, the application doesn't stop at my breakpoint!
from other forums, I know to try:
1. deleting the .tds file
2. delete precompiled headers
3. close and reopen the project
4. close and reopen builder
Of these, only 4. sometimes works for a bit, then it fails again...
I want to write unit tests for a BCB6 app that also cycle through each unit to test for memory leaks..
to do this I need a function that can return the memory used by the process at the time of calling.
Is there such a function?
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.