Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: my strcpy funcution! Pin
wbgxx11-May-10 3:49
wbgxx11-May-10 3:49 
AnswerRe: my strcpy funcution! Pin
Jonathan Davies11-May-10 4:09
Jonathan Davies11-May-10 4:09 
GeneralRe: my strcpy funcution! Pin
wbgxx11-May-10 4:13
wbgxx11-May-10 4:13 
GeneralRe: my strcpy funcution! Pin
Maximilien11-May-10 4:26
Maximilien11-May-10 4:26 
GeneralRe: my strcpy funcution! Pin
Jonathan Davies11-May-10 4:26
Jonathan Davies11-May-10 4:26 
AnswerRe: my strcpy funcution! Pin
Richard MacCutchan11-May-10 5:17
mveRichard MacCutchan11-May-10 5:17 
AnswerRe: my strcpy funcution! Pin
David Crow12-May-10 3:01
David Crow12-May-10 3:01 
QuestionCDialog::PumpMessage hangs (endless WM_PAINT?) Pin
VictorSotnikov11-May-10 3:41
VictorSotnikov11-May-10 3:41 
I have the following weird problem on customer's computer (I cannot look in there and debug):
OS: WinXP
Application: MFC app on Visual C++ 6
There is a simple CDialog-based dialog that always worked OK. But on one of customer's computers the dialog hangs as soon as it is called. I managed to gather dump on it, and this is what I see in Call Stack:

ntdll.dll!_KiFastSystemCallRet@0()
user32.dll!_NtUserDispatchMessage@4() + 0xc bytes
user32.dll!_DispatchMessageW@4() + 0xf bytes
mfc42u.dll!CWinThread::PumpMessage() + 0x3a bytes
mfc42u.dll!CWnd::RunModalLoop() + 0xc6 bytes
mfc42u.dll!CDialog::DoModal() + 0xc7 bytes

If I understood memory dump right, the message id is WM_PAINT. So the dialog probably receives endless WM_PAINT messages and is busy redrawing itself. Why is that? As I said, this is simple About dialog that worked well million times.
Questionhow to use select() function with file descriptors on windows Pin
Vijay_Vijay11-May-10 1:04
Vijay_Vijay11-May-10 1:04 
AnswerRe: how to use select() function with file descriptors on windows Pin
Richard MacCutchan11-May-10 2:36
mveRichard MacCutchan11-May-10 2:36 
QuestionHow to Track the event in Excel for cell insert/delete in C++ or VC++ for ? Pin
Gaurav171011-May-10 0:28
Gaurav171011-May-10 0:28 
AnswerRe: How to Track the event in Excel for cell insert/delete in C++ or VC++ for ? Pin
Stuart Dootson11-May-10 0:44
professionalStuart Dootson11-May-10 0:44 
GeneralRe: How to Track the event in Excel for cell insert/delete in C++ or VC++ for ? Pin
KTTransfer11-May-10 18:19
KTTransfer11-May-10 18:19 
GeneralRe: How to Track the event in Excel for cell insert/delete in C++ or VC++ for ? Pin
Stuart Dootson11-May-10 23:24
professionalStuart Dootson11-May-10 23:24 
GeneralRe: How to Track the event in Excel for cell insert/delete in C++ or VC++ for ? Pin
Gaurav171012-May-10 1:34
Gaurav171012-May-10 1:34 
GeneralRe: How to Track the event in Excel for cell insert/delete in C++ or VC++ for ? Pin
Stuart Dootson12-May-10 2:01
professionalStuart Dootson12-May-10 2:01 
GeneralRe: How to Track the event in Excel for cell insert/delete in C++ or VC++ for ? Pin
Gaurav171012-May-10 2:04
Gaurav171012-May-10 2:04 
GeneralRe: How to Track the event in Excel for cell insert/delete in C++ or VC++ for ? Pin
Stuart Dootson12-May-10 2:15
professionalStuart Dootson12-May-10 2:15 
GeneralRe: How to Track the event in Excel for cell insert/delete in C++ or VC++ for ? Pin
Gaurav171012-May-10 2:17
Gaurav171012-May-10 2:17 
GeneralRe: How to Track the event in Excel for cell insert/delete in C++ or VC++ for ? Pin
KTTransfer13-May-10 1:04
KTTransfer13-May-10 1:04 
Questioninclude directory Pin
john563211-May-10 0:23
john563211-May-10 0:23 
AnswerRe: include directory Pin
Stuart Dootson11-May-10 0:47
professionalStuart Dootson11-May-10 0:47 
Questionconvert mjpeg to mpeg4 Pin
gmallax10-May-10 23:51
gmallax10-May-10 23:51 
AnswerRe: convert mjpeg to mpeg4 Pin
«_Superman_»11-May-10 7:42
professional«_Superman_»11-May-10 7:42 
QuestionHow to register a dll on Window 7 machine. Pin
pandit8410-May-10 20:39
pandit8410-May-10 20:39 

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.