积极答复者
HEAP CORRUPTION DETECTED错误

问题
答案
-
没有问题。
确保你的new和delete是在同一个项目中。如果你在一个DLL中new,在exe中delete可能会由于编译配置不同造成这样的问题。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已标记为答案 Daoping Liu - MSFTModerator 2010年9月17日 9:31
全部回复
-
没有问题。
确保你的new和delete是在同一个项目中。如果你在一个DLL中new,在exe中delete可能会由于编译配置不同造成这样的问题。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已标记为答案 Daoping Liu - MSFTModerator 2010年9月17日 9:31