一条检测内存泄露的函数
来源:互联网 发布:合肥软件开发公司 编辑:程序博客网 时间:2024/05/09 16:21
_CrtDumpMemoryLeaks
Dumps all of the memory blocks in the debug heap when a memory leak has occurred (debug version only).
int _CrtDumpMemoryLeaks( void );
Routine Required Header Compatibility
_CrtDumpMemoryLeaks <crtdbg.h> Win NT, Win 95
For additional compatibility information, see Compatibility in the Introduction.
Libraries
LIBCD.LIB Single thread static library, debug version
LIBCMTD.LIB Multithread static library, debug version
MSVCRTD.LIB Import library for MSVCRTD.DLL, debug version
Return Value
_CrtDumpMemoryLeaks returns TRUE if a memory leak is found; otherwise, the function returns FALSE.
仅仅DEBUG模式起作用.
- 一条检测内存泄露的函数
- 一条检测内存泄露的函数.
- 内存泄露的检测
- 内存泄露的检测
- 内存泄露检测函数_CrtCheckMemory()
- 检测内存泄露的方法:
- C++ 内存泄露的检测
- C++ 内存泄露的检测
- 内存泄露的检测方法
- 检测内存泄露的工具
- 检测内存泄露的方法
- 检测内存泄露的原理
- C++内存泄露的检测
- OpenCV内存泄露的检测
- 实验内存泄露的检测
- 检测内存泄露的原因
- 检测内存泄露的常用手段:debugnew
- 使用valgrind检测内存泄露的问题。
- 股市火爆黑客收入超千万 专家提供防黑绝招
- 学习资源-日语
- 强制删除|病毒清除好帮手Unlocker
- 去掉集中常见显卡的桌面右键菜单
- 感悟1:设计模式依靠多态!!!
- 一条检测内存泄露的函数
- 基于VC++中ATL创建ActiveX控件的探讨
- 洗牌算法
- 感悟2:对接口编程,要学会抽象,对C++而言即学会用指针和引用编程
- 朝鲜中央党报评美剧《越狱》
- 恨你们!
- 关联规则挖掘的算法——Apriori算法
- webSphere介绍
- 中国程序员经典名言