Click here to Skip to main content
15,917,320 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Something really strange !! Pin
Neville Franks23-May-03 3:06
Neville Franks23-May-03 3:06 
GeneralRe: Something really strange !! Pin
Cedric Moonen23-May-03 3:10
Cedric Moonen23-May-03 3:10 
GeneralRe: Something really strange !! Pin
Rage23-May-03 1:49
professionalRage23-May-03 1:49 
GeneralRe: Something really strange !! Pin
Cedric Moonen23-May-03 1:54
Cedric Moonen23-May-03 1:54 
GeneralRe: Something really strange !! Pin
Rage23-May-03 2:23
professionalRage23-May-03 2:23 
GeneralRe: Something really strange !! Pin
Cedric Moonen23-May-03 2:42
Cedric Moonen23-May-03 2:42 
GeneralRe: Something really strange !! Pin
Franz Klein23-May-03 3:01
Franz Klein23-May-03 3:01 
GeneralRe: Something really strange !! Pin
Cedric Moonen23-May-03 3:07
Cedric Moonen23-May-03 3:07 
here is the copy of the callstack just after the bug (I cannot giv it just before because it runs through assembler code and I can't detect where is the failure! :

TEXTDEF::nr(unsigned int 57345, char * 0x0068e16c `string') line 64 + 6 bytes
CMainFrame::GetMessageString(unsigned int 57345, CString & {""}) line 186 + 20 bytes
CFrameWnd::OnSetMessageString(unsigned int 57345, long 0) line 1513
CWnd::OnWndMsg(unsigned int 866, unsigned int 57345, long 0, long * 0x0012f3dc) line 1815 + 17 bytes
CWnd::WindowProc(unsigned int 866, unsigned int 57345, long 0) line 1585 + 30 bytes
AfxCallWndProc(CWnd * 0x013d1900 {CMainFrame hWnd=???}, HWND__ * 0x00030360, unsigned int 866, unsigned int 57345, long 0) line 215 + 26 bytes
AfxWndProc(HWND__ * 0x00030360, unsigned int 866, unsigned int 57345, long 0) line 368
USER32! 77e01d0a()
USER32! 77e01bc8()
USER32! 77e01cef()
USER32! 77e16d62()
USER32! 77e2ca3b()
USER32! 77e2c475()
USER32! 77e2d47e()
USER32! 77e25c19()
USER32! 77e25ba6()
CDebitVolDoc::OnNewDocument() line 144 + 22 bytes
CSingleDocTemplate::OpenDocumentFile(const char * 0x00000000, int 1) line 151 + 11 bytes
CDocManager::OnFileNew() line 829
CWinApp::OnFileNew() line 29
_AfxDispatchCmdMsg(CCmdTarget * 0x006cd008 class CDebitVolApp  theApp, unsigned int 57600, int 0, void (void)* 0x0052b330 CWinApp::OnFileNew(void), void * 0x00000000, unsigned int 12, AFX_CMDHANDLERINFO * 0x00000000) line 88
CCmdTarget::OnCmdMsg(unsigned int 57600, int 0, void * 0x00000000, AFX_CMDHANDLERINFO * 0x00000000) line 302 + 39 bytes
CWinApp::ProcessShellCommand(CCommandLineInfo & {CCommandLineInfo}) line 31 + 30 bytes
CDebitVolApp::InitInstance() line 104 + 12 bytes
AfxWinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00133094, int 1) line 39 + 11 bytes
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00133094, int 1) line 30
WinMainCRTStartup() line 198 + 54 bytes
KERNEL32! 77e8ca90()



The first line is the instruction that causes the bug: I (hmm, not me but the compiler Smile | :) )calls a method from a class that hasn't been instancide (nr() funtion) !
GeneralRe: Something really strange !! Pin
basementman23-May-03 4:08
basementman23-May-03 4:08 
Questionis the pipe the fastest? Pin
novachen22-May-03 21:17
novachen22-May-03 21:17 
AnswerRe: is the pipe the fastest? Pin
Stuart Dootson23-May-03 0:59
professionalStuart Dootson23-May-03 0:59 
GeneralRe: is the pipe the fastest? Pin
basementman23-May-03 4:09
basementman23-May-03 4:09 
GeneralRe: is the pipe the fastest? Pin
Stuart Dootson23-May-03 5:13
professionalStuart Dootson23-May-03 5:13 
Questiondon't catch in release? Pin
novachen22-May-03 21:01
novachen22-May-03 21:01 
AnswerRe: don't catch in release? Pin
Toni7822-May-03 22:26
Toni7822-May-03 22:26 
GeneralRe: don't catch in release? Pin
jhwurmbach22-May-03 23:10
jhwurmbach22-May-03 23:10 
GeneralRe: don't catch in release? Pin
Toni7823-May-03 19:20
Toni7823-May-03 19:20 
GeneralRe: don't catch in release? Pin
novachen24-May-03 1:50
novachen24-May-03 1:50 
GeneralRe: don't catch in release? Pin
Toni7824-May-03 18:57
Toni7824-May-03 18:57 
AnswerRe: don't catch in release? Pin
jhwurmbach22-May-03 23:08
jhwurmbach22-May-03 23:08 
GeneralRe: don't catch in release? Pin
novachen24-May-03 1:54
novachen24-May-03 1:54 
AnswerRe: don't catch in release? Pin
Tim Smith23-May-03 1:53
Tim Smith23-May-03 1:53 
GeneralRe: don't catch in release? Pin
saierdia23-May-03 2:33
saierdia23-May-03 2:33 
GeneralPrinting Pin
Petr_P22-May-03 20:29
Petr_P22-May-03 20:29 
GeneralRe: Printing Pin
Anonymous6-Feb-04 0:07
Anonymous6-Feb-04 0:07 

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.