Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: razzle

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    3,219

    Re: Best way to allocate large memory

    "If you get yourself into that case"

    Well you see, it's not that simple.

    In my view you can use the program termination process to your favour.

    You think one shouldn't.

    That's what we...
  2. Replies
    12
    Views
    3,219

    Re: Best way to allocate large memory

    Program termination is a complex situation.

    I've removed my advice.

    I think your idea that RAII will handle it perfectly well is naive.

    If you want to discuss this further start a new thread.
  3. Replies
    12
    Views
    3,219

    Re: Best way to allocate large memory

    Yes that's your view and I've acknowledged that.

    I've also explained why I don't agree but why I still did removed my advice.

    So it's back to general information: The system will reclaim any...
  4. Replies
    12
    Views
    3,219

    Re: Best way to allocate large memory

    And in my view the system cleanup after a program terminates is also proper. But okay, the system cleanup is a special one off situation and I realize it may be controversial and considered not...
  5. Replies
    12
    Views
    3,219

    Re: Best way to allocate large memory

    Do you clean up before smart pointers do their job?

    Probably not and in the same way there's no particular reason to clean up before the system does its job when a program terminates.

    But you...
  6. Replies
    12
    Views
    3,219

    Re: Best way to allocate large memory

    What is it that doesn't work?

    The CMyObject pointer array is 16728064 times 4 byte which is like 70 MByte. It shouldn't be a problem to allocate that.

    Is it when you start allocating the...
Results 1 to 6 of 6


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


On-Demand Webinars (sponsored)