Find Memory Leaks Under WinCE

I would concentrate on looking at the Remote Resource Leak Detector. It allows you to take snapshots of your application and compare heap allocations.

Documentation is scant from Microsoft:

Some techniques might be applicable from here: How to Use Remote Tools to Track Memory Leaks in Windows CE Applications (Windows CE 5.0) | Microsoft Learn – though the Application Verifier is now the Remote Resource Leak Detector.

I’ve not tried this, but it looks interesting : Memory leak detection for WinCE | CodeGuru

If I think of anything else I’ll add another comment. There are a couple of minor things – platform builder has a couple of commands that allow you to dump heaps, which is also possible to do in code.

Cheers

John