Hey, I've been using Memchk for some time now.

I actually used it on my Chrome plugin for FLStudio..

To get it to give you a location in your code,
like the documentation says:
Go to Project -> Options -> Compiler Tab:

  • - Disable Optimisation
    - Enable Stack-frames
    - But here is the important one:
    You must go to the Linker tab and enable 'Include TD32 Debug Info'


Project -> Build (This is important!)

This will make your exe about 6mb big, so only use it for testing obviously!