一条检测内存泄露的函数.
来源:互联网 发布:测辐射软件 编辑:程序博客网 时间:2024/05/20 14:19
_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模式起作用.
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检测内存泄露的问题。
- JSP 读取 SQL Server 2000 中 image 型数据生成图片文件
- 视频监控系统的搭建之一 硬件选型
- 软件工程学习笔记一
- Java学习笔记(未完成.....)
- ActiveX Support In SWT
- 一条检测内存泄露的函数.
- Oracle存储过程小疑惑
- Rational 2002产品安装(转)
- 用JavaScript实现MD5,SHA1加密
- 记录每一天的学习经历
- 解决osg路径与文件名中的中文字符问题
- Oracle列表分区
- [原创]从RTF格式 的文件中提取文本。
- 曾经是否觉得回忆