Click here to Skip to main content
15,910,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ARRRGGG!!!! Pin
Navin17-Apr-03 10:30
Navin17-Apr-03 10:30 
QuestionWhat is DMI ? Pin
Sendel17-Apr-03 9:01
Sendel17-Apr-03 9:01 
AnswerRe: What is DMI ? Pin
Mark Tutt17-Apr-03 9:17
Mark Tutt17-Apr-03 9:17 
QuestionMy SDI/MDI-App crashes when I open a dialog. ? Pin
Exim17-Apr-03 8:57
Exim17-Apr-03 8:57 
AnswerRe: My SDI/MDI-App crashes when I open a dialog. ? Pin
valikac17-Apr-03 9:25
valikac17-Apr-03 9:25 
GeneralRe: My SDI/MDI-App crashes when I open a dialog. ? Pin
Exim17-Apr-03 9:49
Exim17-Apr-03 9:49 
GeneralRe: My SDI/MDI-App crashes when I open a dialog. ? Pin
Bartosz Bien17-Apr-03 11:49
Bartosz Bien17-Apr-03 11:49 
GeneralRe: My SDI/MDI-App crashes when I open a dialog. ? Pin
Exim17-Apr-03 20:39
Exim17-Apr-03 20:39 
I'm running WinXP and VC.Net
The closest point I could trace the crash is in dlgcore.cpp
in the function CreateDlgIndirect(LPCDLGTEMPLATE lpDialogTemplate,CWnd* pParentWnd, HINSTANCE hInst)
at the end of the TRY-part

// create modeless dialog
AfxHookWindowCreate(this);
hWnd = ::CreateDialogIndirect(hInst, lpDialogTemplate, <- here it crashes
pParentWnd->GetSafeHwnd(), AfxDlgProc);

I don't understand why this function works when the mainwindow opens but crashes when another window is openen like the aboutbox, a dialogbox or just a simple messagebox.
Is there another way to open dialogboxes? Or am I the only one with this problem?
GeneralRe: My SDI/MDI-App crashes when I open a dialog. ? Pin
Bartosz Bien17-Apr-03 22:32
Bartosz Bien17-Apr-03 22:32 
Generalhandling key down events in a dialog app Pin
K. Shaffer17-Apr-03 8:38
K. Shaffer17-Apr-03 8:38 
GeneralRe: handling key down events in a dialog app Pin
Anonymous17-Apr-03 8:45
Anonymous17-Apr-03 8:45 
GeneralRe: handling key down events in a dialog app Pin
Bartosz Bien17-Apr-03 11:52
Bartosz Bien17-Apr-03 11:52 
GeneralOpening the WindowStation of a specific Terminal Services session Pin
Neflyte17-Apr-03 8:35
Neflyte17-Apr-03 8:35 
QuestionHow to declare the ppBuffer for WTSQuerySessionInformation Pin
Neflyte17-Apr-03 6:55
Neflyte17-Apr-03 6:55 
AnswerRe: How to declare the ppBuffer for WTSQuerySessionInformation Pin
Le centriste17-Apr-03 7:10
Le centriste17-Apr-03 7:10 
GeneralRe: How to declare the ppBuffer for WTSQuerySessionInformation Pin
Neflyte17-Apr-03 8:35
Neflyte17-Apr-03 8:35 
QuestionWhat is the default stack size for VC++6 apps on Windows 2k pro? Pin
DengJW17-Apr-03 6:48
DengJW17-Apr-03 6:48 
AnswerRe: What is the default stack size for VC++6 apps on Windows 2k pro? Pin
John M. Drescher17-Apr-03 7:03
John M. Drescher17-Apr-03 7:03 
AnswerRe: What is the default stack size for VC++6 apps on Windows 2k pro? Pin
Joe Woodbury17-Apr-03 12:39
professionalJoe Woodbury17-Apr-03 12:39 
GeneralRe: What is the default stack size for VC++6 apps on Windows 2k pro? Pin
DengJW17-Apr-03 16:24
DengJW17-Apr-03 16:24 
GeneralRe: What is the default stack size for VC++6 apps on Windows 2k pro? Pin
DengJW17-Apr-03 16:28
DengJW17-Apr-03 16:28 
GeneralRe: What is the default stack size for VC++6 apps on Windows 2k pro? Pin
Joe Woodbury17-Apr-03 20:04
professionalJoe Woodbury17-Apr-03 20:04 
AnswerRe: What is the default stack size for VC++6 apps on Windows 2k pro? Pin
DengJW17-Apr-03 16:56
DengJW17-Apr-03 16:56 
GeneralHaving prolems with CreateProcessAsUser Pin
billdwilson317-Apr-03 6:46
billdwilson317-Apr-03 6:46 
QuestionIs TreeContol Thread Safe? Pin
orcun colak17-Apr-03 6:37
orcun colak17-Apr-03 6:37 

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.