CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Document Limit

  1. #1
    Guest

    Document Limit

    Hello world,

    does either MFC or Windows NT itself set a limit for the maximum number of CDocument-derived instances within a program?
    My MFC application creates a lot of frame windows at runtime, each of which has its own CDocument-derived and CView-derived class.
    But at a certain point (with about 250 active CDocuments) I get the message box "error creating an empty document" and no more windows are created. This happens far before I run out of memory, so I guess there is a limitation of either windows or the MFC?!

    Who can help?

    Jens
    [email protected]



  2. #2
    Guest

    Re: Document Limit

    Must be MFC because Windows doesn't even know MFC exists.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured