Also the text of the common error message AFX_IDP_FAILED_TO_CREATE_DOC (The full text is "Failed to create empty document.") called from a couple of places handling creation of documents:

  • CDocManager::OnFileNew() if the CWinApp derived main application hasn't got any templates.
  • CMultiDocTemplate::OpenDocumentFile(LPCTSTR, BOOL) or CSingleDocTemplate::OpenDocumentFile(LPCTSTR, BOOL) if the member function CreateNewDocument() returns false or CreateNewFrame(long*, long*) returns NULL.

This is probably what Netscape has been calling. And most probably a frame can't be created due to lack of memory.

Log in or register to write something here or to contact authors.