Click here to Skip to main content
15,902,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionThread safe in VC++ Pin
pix_programmer11-Aug-11 18:12
pix_programmer11-Aug-11 18:12 
AnswerRe: Thread safe in VC++ Pin
Peter_in_278011-Aug-11 19:03
professionalPeter_in_278011-Aug-11 19:03 
AnswerRe: Thread safe in VC++ Pin
Bernhard Hiller11-Aug-11 22:50
Bernhard Hiller11-Aug-11 22:50 
GeneralRe: Thread safe in VC++ Pin
pix_programmer11-Aug-11 23:52
pix_programmer11-Aug-11 23:52 
GeneralRe: Thread safe in VC++ Pin
Chris Losinger12-Aug-11 10:20
professionalChris Losinger12-Aug-11 10:20 
QuestionHow to Clear this Error Pin
Member 808896211-Aug-11 18:08
Member 808896211-Aug-11 18:08 
AnswerRe: How to Clear this Error Pin
T.RATHA KRISHNAN11-Aug-11 18:35
T.RATHA KRISHNAN11-Aug-11 18:35 
QuestionHow to open a document file ? Pin
_Flaviu11-Aug-11 7:08
_Flaviu11-Aug-11 7:08 
I create an MDI application, with document type ".xyz". I can create, open and save this kind of document with new, open and save items from file menu. But I need to open a document file from the disk in follow way : I open mainframe window with no new document, and from a diferent items from menu, let's say, OnHelpTest open
"D:\Default.xyz" document file , how can I do that ?

I can't call
C++
CMyDocument::OnOpenDocument(_T("D:\\Default.xyz")); 

because if I try to get a pointer to CMyDocument with known way,

MDIGetActive()->GetActiveView()->GetDocument(),

failed, because is not document open already as I said ...
QuestionRe: How to open a document file ? Pin
David Crow11-Aug-11 7:16
David Crow11-Aug-11 7:16 
AnswerRe: How to open a document file ? Pin
_Flaviu11-Aug-11 7:43
_Flaviu11-Aug-11 7:43 
Question900520 - VC6 vs VS 2010 Pin
ilostmyid211-Aug-11 3:03
professionalilostmyid211-Aug-11 3:03 
AnswerRe: 900520 - VC6 vs VS 2010 Pin
Maximilien11-Aug-11 3:28
Maximilien11-Aug-11 3:28 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid211-Aug-11 3:34
professionalilostmyid211-Aug-11 3:34 
QuestionRe: 900520 - VC6 vs VS 2010 Pin
Maximilien11-Aug-11 7:49
Maximilien11-Aug-11 7:49 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
Albert Holguin11-Aug-11 9:54
professionalAlbert Holguin11-Aug-11 9:54 
AnswerRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 0:14
professionalilostmyid212-Aug-11 0:14 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
Maximilien12-Aug-11 0:52
Maximilien12-Aug-11 0:52 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 7:21
professionalilostmyid212-Aug-11 7:21 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
Maximilien12-Aug-11 7:47
Maximilien12-Aug-11 7:47 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 7:59
professionalilostmyid212-Aug-11 7:59 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
MicroVirus12-Aug-11 8:31
MicroVirus12-Aug-11 8:31 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 13:39
professionalilostmyid212-Aug-11 13:39 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
MicroVirus12-Aug-11 4:36
MicroVirus12-Aug-11 4:36 
AnswerRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 18:22
professionalilostmyid212-Aug-11 18:22 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 18:30
professionalilostmyid212-Aug-11 18:30 

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.