Today I am creating (porting) components from Toolbar97.
In the beginning, I create the skeleton by my self.
But for the rest, I just copy + paste the codes.
In every middle things, I tried the code using delphi. Delphi crashes several time (maybe out of memory).
Now the problem is : the package + components + demo app running very well with Lazarus.
But Delphi always reports : Exception EAccessViolation in module project1.exe at 0368E.
I suspect (most probably) there was something missed by me.
Well, the code is very messy now, it hard to remember what procedure wasn't properly proted.
Using diff doesn't help, then.
Question 1: How to find/activate memory leak in Lazarus? my delphi doesn't report the file and line number.
2: Can it point to file & line number of the memory leak?
I don't know anything about Valgrind. I know someone use it to find memory leak in C.
I am using Windows XP Lazarus trunk.
Thanks for attention/answer.