我正在使用Delphi的fastMM内存管理器,当我尝试使用完全调试模式时,我失败了。
编译时出现以下错误:
FastMM\FastMM4.pas(6872) Error: Undeclared identifier: 'RegisterExpectedMemoryLeak'
FastMM\FastMM4.pas(6948) Error: Undeclared identifier: 'UnregisterExpectedMemoryLeak'
FastMM\FastMM4.pas(9269)
import_test.dpr(24) Fatal: Could not compile used unit 'FastMM\FastMM4.pas'.inc文件告诉您加载完整的调试dll。我已经把FastMM_FullDebugMode.dll文件复制到任何地方了。看起来我应该在我的项目中加入一些东西。
我可能漏掉了一些非常明显的东西。
Delphi版本是7。
发布于 2011-10-31 22:48:42
通过将包含文件FastMM4Options.inc中的EnableMemoryLeakReporting指令更改为:
{.$define EnableMemoryLeakReporting}至:
{$define EnableMemoryLeakReporting}还要阅读该文件中的注释,了解各种选项,根据需要打开/关闭它们。
https://stackoverflow.com/questions/7955169
复制相似问题