End Google Ads 201810 - BS.net 01 --> I wrote a program using CMFCEditBrowseCtrl which had memory leaks. I identified this particular control as the issue. To confirm this, I then built a test program which just has a single CMFCEitBrowseCtrl on the dialog. It leaks upon exit.

I'm in VS2010. I used the app wizard to build a dialog based application using all the default selections. I added the CMFCEditBrowse control using the dialog editor. It compiles OK. It display the dialog and exits with memory leaks. If I remove the control, it exits ok. I can even add a CEdit control and it exits without a memory leak.

The leak is reported like this:

The thread 'Win32 Thread' (0xc3c) has exited with code 0 (0x0).
Detected memory leaks!
Dumping objects ->
{435} client block at 0x01070560, subtype c0, 212 bytes long.
a CMFCVisualManager object at $01070560, 212 bytes long
Object dump complete.
The program '[0x474] testmfcebc.exe: Native' has exited with code 0 (0x0).

Any ideas on how to proceed?
DanL