资 源 简 介
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