首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > dll与exe之间内存分配释放测试

dll与exe之间内存分配释放测试

  • 资源大小:37.95 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 跨模块内存申请释放

资 源 简 介

windows下exe调用dll  如果两个模块依赖的vc++运行时不同,比如一个是多线程,另一个是多线程dll 如果在dll内申请了内存而在exe中释放会有崩溃现象. 此工程模仿stl用法简单实现了string和list模版类,自动管理此种情况下的内存分配,而不会有崩溃. 使用者可自己扩展.

文 件 列 表

MFCUseDllExportStl
res
DllExportStl.exp
DllExportStl.lib
MFCUseDllExportStl.aps
MFCUseDllExportStl.clw
MFCUseDllExportStl.cpp
MFCUseDllExportStl.dsp
MFCUseDllExportStl.dsw
MFCUseDllExportStl.h
MFCUseDllExportStl.opt
MFCUseDllExportStl.plg
MFCUseDllExportStl.rc
MFCUseDllExportStl.sln
MFCUseDllExportStl.suo
MFCUseDllExportStl.vcproj
MFCUseDllExportStlDlg.cpp
MFCUseDllExportStlDlg.h
MyStl.h
ReadMe.txt
Resource.h
StdAfx.cpp
StdAfx.h
DllExportStl
DllExportStl.cpp
DllExportStl.dsp
DllExportStl.dsw
DllExportStl.h
DllExportStl.plg
MyStl.h
ReadMe.txt
StdAfx.cpp
StdAfx.h
VIP VIP
0.173747s