VC++6.0 之NEW调用的BUG(不停调用NEW的朋友们看过来)

    _heap_alloc_debug 会使程序崩溃调。全部版本的 VC++6.0 。 new 中调用了 ._malloc_dbg(), 和 _heap_alloc_dbg(). 在 _heap_alloc_dbg() 中有个静态的 long 型计数器, _lRequestCurr (Microsoft visual Studio/VC98/Crt/Src/dbgheap.c) ,初始化为 1
相关文章
相关标签/搜索