I start the app with leak checking off, then from main UI I do this:
This gives a stack overflow in the madexcept64.dll.
If i turn leak checking on at startup then no stack overflow and the app looks ok.
Next turn on leak checking in the project options -> mad except
First line on the project i add:
After startup i run:
The above should be near instant - yet i see the popup "Creating Leak Report" and nothing happens at all, but my app locks up, with no CPU usage, so something does not return.
Please can you test the above or advise the best method to do what we need to - capture running leaks.
If you want to use leak checking, it's recommended (maybe even mandatory) to enable leak checking in the madExcept settings when you compile your EXE. You can then disable/reenable leak checking at will. But telling madExcept at first to not do leak checking and then trying to disable it at runtime later is problematic due to the memory manager issue described above.
ok thats fine as I did that but never got a return, now have just re-tried this and it works as intended, so i missed something by the looks. I seem to be able to clear the leaks while running and it returns reasonably quickly now thankyou.