Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: markus3000
  • Content: Threads
  • Order by date
  1. markus3000

    BCB 6.0 no heaps growing after allocation

    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...
  2. markus3000

    getting handle to CRT heap in builder

    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
  3. markus3000

    delete does not work

    Hi, I tried the code in BCB 6 console app: class Testclass { public: double val; //~Testclass(){}; }; #pragma argsused int main(int argc, char* argv[]) { Testclass * t1 = new Testclass; t1->val = 0; int s1 = sizeof(*t1); delete t1; int s2 = sizeof(*t1); t1->val = 10...
  4. markus3000

    breakpoints not working

    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...
  5. markus3000

    console in windows app?

    I'd like to get a console window up for debugging purposes, even though it's an "Application"; then I can use cin and cout. Is this possible? thanks
  6. markus3000

    memory usage function in BCB6?

    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

Part and Inventory Search

Back
Top