is there a free app that detect memory leaks in delphi. 1. I've been haunted by doubts whether asigning literal to a variable of type PChar would create a leak.
2. about FreeMem(), since a pointer stores its own size, FreeMem's second parameter doesn't seem to do anything. I am cautios about it. I have a strong urge to set the size parameter for every call to FreeMem. Which most of the time is not feasable. TIA ------------ FIreHAzaR:-D West Java, Indonesia