Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
«_Superman_»14-Jan-13 17:55
professional«_Superman_»14-Jan-13 17:55 
GeneralRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
vishalgpt14-Jan-13 19:01
vishalgpt14-Jan-13 19:01 
QuestionHTTP server in C. How to implement Keep-Alive? Pin
johanm_29-Jan-13 20:02
johanm_29-Jan-13 20:02 
SuggestionRe: HTTP server in C. How to implement Keep-Alive? Pin
Richard MacCutchan9-Jan-13 22:24
mveRichard MacCutchan9-Jan-13 22:24 
GeneralRe: HTTP server in C. How to implement Keep-Alive? Pin
johanm_210-Jan-13 1:17
johanm_210-Jan-13 1:17 
QuestionProblem loading non-default wab Pin
Member 8689269-Jan-13 2:31
Member 8689269-Jan-13 2:31 
AnswerRe: Problem loading non-default wab Pin
Code-o-mat10-Jan-13 2:06
Code-o-mat10-Jan-13 2:06 
GeneralRe: Problem loading non-default wab Pin
Member 86892611-Jan-13 6:05
Member 86892611-Jan-13 6:05 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat11-Jan-13 7:49
Code-o-mat11-Jan-13 7:49 
GeneralRe: Problem loading non-default wab Pin
Member 86892611-Jan-13 9:56
Member 86892611-Jan-13 9:56 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat11-Jan-13 10:07
Code-o-mat11-Jan-13 10:07 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat11-Jan-13 10:12
Code-o-mat11-Jan-13 10:12 
GeneralRe: Problem loading non-default wab Pin
Member 86892612-Jan-13 4:17
Member 86892612-Jan-13 4:17 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat12-Jan-13 8:09
Code-o-mat12-Jan-13 8:09 
QuestionRe: Problem loading non-default wab Pin
Richard MacCutchan11-Jan-13 6:41
mveRichard MacCutchan11-Jan-13 6:41 
AnswerRe: Problem loading non-default wab Pin
Member 86892611-Jan-13 9:53
Member 86892611-Jan-13 9:53 
GeneralRe: Problem loading non-default wab Pin
Richard MacCutchan11-Jan-13 23:17
mveRichard MacCutchan11-Jan-13 23:17 
GeneralRe: Problem loading non-default wab Pin
Member 86892612-Jan-13 4:06
Member 86892612-Jan-13 4:06 
GeneralRe: Problem loading non-default wab Pin
Richard MacCutchan12-Jan-13 4:20
mveRichard MacCutchan12-Jan-13 4:20 
QuestionHow do you get the file size for an open file? Pin
Member 41945938-Jan-13 3:29
Member 41945938-Jan-13 3:29 
AnswerRe: How do you get the file size for an open file? Pin
Jochen Arndt8-Jan-13 4:14
professionalJochen Arndt8-Jan-13 4:14 
GeneralRe: How do you get the file size for an open file? Pin
Member 41945938-Jan-13 10:27
Member 41945938-Jan-13 10:27 
GeneralRe: How do you get the file size for an open file? Pin
Member 41945938-Jan-13 12:24
Member 41945938-Jan-13 12:24 
QuestionWhile launching a winapp as ole server some time OnFIleNew() failed Pin
vermaashish_mca8-Jan-13 1:36
vermaashish_mca8-Jan-13 1:36 
AnswerRe: While launching a winapp as ole server some time OnFIleNew() failed Pin
Jochen Arndt8-Jan-13 2:51
professionalJochen Arndt8-Jan-13 2:51 
From your information it is rather impossible to guess what is wrong. But I will give you some notes that may help you to find the problem or enhance your question:

"Error occurs in mfc42.dll" seems to be an application specific error message (googling the exact term gives only a few results). So you should be able to locate the executed source sections before the error occurs.

Even when using the default implementation of OnFileNew(), virtual functions of your document class are involved. In this case I would especially check OnNewDocument(). When this returns FALSE, creation of the document and frame window will be stopped (see the MFC sources for CSingleDocTemplate::OpenDocumentFile()).

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.