文件名称:vsFakeLeakTest
-
所属分类:
- 标签属性:
- 上传时间:2013-10-30
-
文件大小:159.38kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
使用vc开发mfc程序时,在调用了win32 dll(即不使用mfc的dll)时,mfc90.dll后于win32dll加载,在退出程序时mfc90.dll先释放,这时它会将win32dll中的全局变量,函数static变量视为内存泄露,而实际上随后win32dll卸载时会正常释放,导致内存泄露误报。
本程序演示了win32dll中的std::string的全局变量和函数内static变量的内存泄露误报-Using vc development mfc program, the call to the win32 dll (ie without using the mfc dll) when, mfc90.dll after win32dll loaded at program exit mfc90.dll first released, then it will be the global variables win32dll , function static variables as memory leaks, but in fact will subsequently unloaded win32dll normal release, resulting in a memory leak false positives. This program demonstrates the std :: string win32dll global variables and static variables within a function memory leak false positives
本程序演示了win32dll中的std::string的全局变量和函数内static变量的内存泄露误报-Using vc development mfc program, the call to the win32 dll (ie without using the mfc dll) when, mfc90.dll after win32dll loaded at program exit mfc90.dll first released, then it will be the global variables win32dll , function static variables as memory leaks, but in fact will subsequently unloaded win32dll normal release, resulting in a memory leak false positives. This program demonstrates the std :: string win32dll global variables and static variables within a function memory leak false positives
(系统自动生成,下载前可以参看下载内容)
下载文件列表
theMFCleakTest/
theMFCleakTest/Debug/
theMFCleakTest/Debug/BuildLog.htm
theMFCleakTest/ReadMe.txt
theMFCleakTest/res/
theMFCleakTest/resource.h
theMFCleakTest/res/theMFCleakTest.ico
theMFCleakTest/res/theMFCleakTest.rc2
theMFCleakTest/stdafx.cpp
theMFCleakTest/stdafx.h
theMFCleakTest/targetver.h
theMFCleakTest/theMFCleakTest.aps
theMFCleakTest/theMFCleakTest.cpp
theMFCleakTest/theMFCleakTest.h
theMFCleakTest/theMFCleakTest.rc
theMFCleakTest/theMFCleakTest.sln
theMFCleakTest/theMFCleakTest.suo
theMFCleakTest/theMFCleakTest.vcproj
theMFCleakTest/theMFCleakTestDlg.cpp
theMFCleakTest/theMFCleakTestDlg.h
win32dll/
win32dll/Debug/
win32dll/Debug/BuildLog.htm
win32dll/dllmain.cpp
win32dll/ReadMe.txt
win32dll/stdafx.cpp
win32dll/stdafx.h
win32dll/targetver.h
win32dll/win32dll.cpp
win32dll/win32dll.h
win32dll/win32dll.sln
win32dll/win32dll.suo
win32dll/win32dll.vcproj
theMFCleakTest/Debug/
theMFCleakTest/Debug/BuildLog.htm
theMFCleakTest/ReadMe.txt
theMFCleakTest/res/
theMFCleakTest/resource.h
theMFCleakTest/res/theMFCleakTest.ico
theMFCleakTest/res/theMFCleakTest.rc2
theMFCleakTest/stdafx.cpp
theMFCleakTest/stdafx.h
theMFCleakTest/targetver.h
theMFCleakTest/theMFCleakTest.aps
theMFCleakTest/theMFCleakTest.cpp
theMFCleakTest/theMFCleakTest.h
theMFCleakTest/theMFCleakTest.rc
theMFCleakTest/theMFCleakTest.sln
theMFCleakTest/theMFCleakTest.suo
theMFCleakTest/theMFCleakTest.vcproj
theMFCleakTest/theMFCleakTestDlg.cpp
theMFCleakTest/theMFCleakTestDlg.h
win32dll/
win32dll/Debug/
win32dll/Debug/BuildLog.htm
win32dll/dllmain.cpp
win32dll/ReadMe.txt
win32dll/stdafx.cpp
win32dll/stdafx.h
win32dll/targetver.h
win32dll/win32dll.cpp
win32dll/win32dll.h
win32dll/win32dll.sln
win32dll/win32dll.suo
win32dll/win32dll.vcproj
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.