How to obtain the names of custom-made structures whose instances have leaked memory?

后端 未结 1 1190
眼角桃花
眼角桃花 2021-02-12 12:48

I am working a on parser which will go through a FASTMM4 memory leak report and store all relevant data in a custom-made structure/class. I use VirtualTreeView to display each c

1条回答
  •  闹比i
    闹比i (楼主)
    2021-02-12 13:27

    Maybe extended RTTI (Delphi 2010 an newer) can be used to create a type dictionary, which only holds typeinfo pointers and names of all "non-class" types.

    This feature could be enabled with a conditional define to avoid its overhead in normal operation.

    0 讨论(0)
提交回复
热议问题