Delphi2005 Pro on Windows XP SP3
Access Violation Exception after call to free
I am getting an access violation (some number) in an application i am developeing with delphi2005pro.
The problem the access violation is raised after freeandnill(someobjec) is called.
This is the situation. In an onclick event for an button an object is created, used an finaly freeandnil is called. Only after the freeandnill is called the access violation is thrown.
Also i tried stepping through the code all the way butt all went well and after the freeandnill call the exception is there again. Now how do i debug that?
I do suspect something is going wrong in the object. But i am unable to debug it for now.
Any pointers to where i should look debug it in another way?
The offending class/object is the vfs i am developing.
Thanks for your help in advance.