Article ID: 318677 - View products that this article applies to.
This article was previously published under Q318677
This article has been archived. It is offered "as is" and will no longer be updated.
When a multiple-document interface (MDI) application runs and creates many child windows, the following problems may occur:
You cannot determine the maximum number of child windows that can be created in an application because this depends on several factors:
You may also notice memory shortage problems when you run an MDI application that creates many document templates by using the same menu resource. MFC is not implemented with a function that deletes added document templates. For additional information about templates that share a menu resource, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/118435/EN-US/ )INFO: Sharing Menus Between MDI Child Windows
For additional information about the desktop heap, click the article numbers below to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/126962/EN-US/ )Increasing the Desktop Application Heap
(http://support.microsoft.com/kb/184802/EN-US/ )PRB: User32.dll or Kernel32.dll Fails to Initialize
Article ID: 318677 - Last Review: October 24, 2013 - Revision: 2.1
Contact us for more help
Connect with Answer Desk for expert help.