Click here to Skip to main content
15,896,402 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: (NULL == p) vs (p == NULL) Pin
Adam Roderick J5-Aug-09 21:54
Adam Roderick J5-Aug-09 21:54 
Questionusing the mouse programmatically Pin
Orchus5-Aug-09 10:08
Orchus5-Aug-09 10:08 
AnswerRe: using the mouse programmatically Pin
Luc Pattyn5-Aug-09 10:30
sitebuilderLuc Pattyn5-Aug-09 10:30 
AnswerRe: using the mouse programmatically Pin
«_Superman_»5-Aug-09 16:49
professional«_Superman_»5-Aug-09 16:49 
QuestionTroubles with OpenMp basics [modified] Pin
Andre_E_S5-Aug-09 8:45
Andre_E_S5-Aug-09 8:45 
AnswerRe: Troubles with OpenMp basics [modified] Pin
Andre_E_S23-Oct-09 1:58
Andre_E_S23-Oct-09 1:58 
QuestionCause of "Failed to create empty document" Pin
Dave Goodman5-Aug-09 8:32
Dave Goodman5-Aug-09 8:32 
AnswerRe: Cause of "Failed to create empty document" Pin
Steven Strouse24-Aug-09 2:32
Steven Strouse24-Aug-09 2:32 
Dave,

I was adding some functionality to an MFC app that has been running for 10 years. I started getting the "Failed to create empty document" message. I stepped into the constructor of my document class and its base class and all the other objects that were being created. The constructor of one of my objects was getting a pen style out of a configuration file that contained a bogus value. The class was attempting to create a pen with "new CPen(..." using the bogus pen style value. The constructor of CPen threw an exception eventually causing the document class to exception out resulting in the infamous "Failed to create empty document" message. Perhaps your customers in Sweden and Australia have some bogus data in either their data files or some configuration file.
Question0xC0000417 exception params Pin
Chesnokov Yuriy5-Aug-09 7:29
professionalChesnokov Yuriy5-Aug-09 7:29 
Questionerror connecrting sybase using ex_connect from a vc++ dll Pin
intermediate5-Aug-09 7:14
intermediate5-Aug-09 7:14 
QuestionWriting on Document form Dialog in SDI Pin
kudlaty795-Aug-09 5:56
kudlaty795-Aug-09 5:56 
AnswerRe: Writing on Document form Dialog in SDI Pin
David Crow5-Aug-09 6:04
David Crow5-Aug-09 6:04 
GeneralRe: Writing on Document form Dialog in SDI Pin
kudlaty795-Aug-09 9:15
kudlaty795-Aug-09 9:15 
AnswerRe: Writing on Document form Dialog in SDI Pin
David Crow5-Aug-09 9:22
David Crow5-Aug-09 9:22 
GeneralRe: Writing on Document form Dialog in SDI Pin
kudlaty7929-Aug-09 3:43
kudlaty7929-Aug-09 3:43 
AnswerRe: Writing on Document form Dialog in SDI Pin
David Crow29-Aug-09 16:02
David Crow29-Aug-09 16:02 
GeneralNew Project Pin
MrMcIntyre5-Aug-09 5:23
MrMcIntyre5-Aug-09 5:23 
GeneralRe: New Project Pin
Maximilien5-Aug-09 9:44
Maximilien5-Aug-09 9:44 
GeneralRe: New Project Pin
molesworth6-Aug-09 1:49
molesworth6-Aug-09 1:49 
GeneralRe: New Project Pin
MrMcIntyre6-Aug-09 1:59
MrMcIntyre6-Aug-09 1:59 
GeneralRe: New Project [modified] Pin
molesworth6-Aug-09 2:55
molesworth6-Aug-09 2:55 
GeneralRe: New Project Pin
MrMcIntyre6-Aug-09 4:55
MrMcIntyre6-Aug-09 4:55 
GeneralRe: New Project Pin
molesworth6-Aug-09 7:04
molesworth6-Aug-09 7:04 
GeneralRe: New Project Pin
MrMcIntyre6-Aug-09 9:03
MrMcIntyre6-Aug-09 9:03 
GeneralRe: New Project Pin
molesworth6-Aug-09 11:14
molesworth6-Aug-09 11:14 

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.