> I really don't see any way to use  _CrtDumpMemoryLeaks(). It always
> shows hundreds of blocks even if I'm sure that nothing was allocated
> (no malloc or new). I know that this is not a place to learn how to
> use VC++. Maybe it's true that Deleaker just freaks out. I will try to
> track it down another way. All ideas appreciated.
> 
> Bartek

TFM should be helpful. Do something like:

Int main()
{
        //Note the extra scope..
        {
                //...app work goes here
        }
        _CrtDumpMemoryLeaks(); //I hope you're not using globals, if so
deallocate them before this call.
        Return 0;
}

Watch the output window, and if leaks are detected (and your app's
allocation behavior is pretty deterministic), _CrtSetBreakAlloc() is you
best friend.

- Sherief

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to