I just googled this
unit:
Code:
http://www.codexterity.com/fastsharemem.htm
I didn't knew that FastMM4
unit can be used as replacement too, thanks for this tip
I believe that FastMM4 is better than fastsharemem, especially as it allows you to detect memory leaks.
Zitat von
WojTec:
I'm using D2010, FreePascal I selected by mistake, sorry
Nobody is perfect. I was just curious.
Zitat von
WojTec:
I have next question, I used global (for
DLL) record (it contains string and integers). When I used FastMM it detected memory leaks, when I nulled this record (rec.string := '', etc) memory leaks not occured. Why?
When do you initialize that record? It could be a false alarm, but I'm not that fond with FastMM as I'm not using it as leak detector.
Regards,
Sven