BUG: Nested Dialog Boxes Leak Memory (309121)
The information in this article applies to:
- Microsoft eMbedded Visual C++, Version:4.0
This article was previously published under Q309121 SYMPTOMS
When you dismiss a dialog box that was created as a child of another dialog box, some memory from the child dialog box will not be freed until the parent dialog box is dismissed.
CAUSE
Microsoft Foundation Classes (MFC) is not getting an opportunity to clean up any temporary objects that were created to support the child dialog box.
RESOLUTION
You can explicitly call CWinApp::OnIdle(), which will allow MFC to clean up its temporary objects.
STATUS
Microsoft has confirmed this to be a bug in MFC for Pocket PC.
Modification Type: | Minor | Last Reviewed: | 8/18/2005 |
---|
Keywords: | kbbug kbpending KB309121 |
---|
|