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

C / C++ / MFC

 
AnswerRe: Can anyone help... Pin
jmkhael30-Sep-02 7:54
jmkhael30-Sep-02 7:54 
GeneralRe: Can anyone help... Pin
Kash30-Sep-02 8:11
Kash30-Sep-02 8:11 
Questionhow to disable accelerator key? Pin
bluntagain30-Sep-02 6:28
bluntagain30-Sep-02 6:28 
AnswerRe: how to disable accelerator key? Pin
jmkhael30-Sep-02 6:42
jmkhael30-Sep-02 6:42 
GeneralExporting & using static public data members between dlls Pin
mabotta30-Sep-02 6:24
mabotta30-Sep-02 6:24 
GeneralRe: Exporting & using static public data members between dlls Pin
Paul M Watt30-Sep-02 10:05
mentorPaul M Watt30-Sep-02 10:05 
GeneralRe: Exporting & using static public data members between dlls Pin
mabotta1-Oct-02 6:10
mabotta1-Oct-02 6:10 
GeneralBack tracking error in MFC Pin
Mike Eriksson30-Sep-02 6:12
Mike Eriksson30-Sep-02 6:12 
Hello!

I have an app which until recently have worked very well, but now I get an Unhandled Exception when I run the program in Release mode. It works in Debug mode. Since the error is in MFC and I can't find any of my code in the calling stack I'm stuck!

I get this error messages:

"Unhandled exception in COMSmartist.exe (MFC42.DLL): 0xC0000005: Access Error"
When I press OK I wind up in Wincore.cpp (line: 231).

The calling stack look like this:
AfxCallWndProc(CWnd * 0x00000000 {CWnd hWnd=???}, HWND__ * 0x046a0cc0, unsigned int 20, unsigned int 3422620807, long 0) line 231 + 10 bytes
AfxWndProc(HWND__ * 0x046a0cc0, unsigned int 20, unsigned int 3422620807, long 0) line 368
AfxWndProcBase(HWND__ * 0x046a0cc0, unsigned int 20, unsigned int 3422620807, long 0) line 220 + 21 bytes
USER32! 77e71303()
USER32! 77e71962()
NTDLL! 77f763ef()
CView::OnPaint(CView * const 0x00000007 {CView hWnd=???}) line 183
MFC42! 6c371fb5()
CWnd::WindowProc(CWnd * const 0x00000007 {CWnd hWnd=???}, unsigned int 15, unsigned int 0, long 0) line 1585 + 27 bytes
AfxCallWndProc(CWnd * 0x00000000 {CWnd hWnd=???}, HWND__ * 0x046a0cc0, unsigned int 15, unsigned int 0, long 0) line 218
AfxWndProc(HWND__ * 0x046a0cc0, unsigned int 15, unsigned int 0, long 0) line 368
AfxWndProcBase(HWND__ * 0x046a0cc0, unsigned int 15, unsigned int 0, long 0) line 220 + 21 bytes
USER32! 77e71303()
USER32! 77e71962()
NTDLL! 77f763ef()
AfxCallWndProc(CWnd * 0x00000000 {CWnd hWnd=???}, HWND__ * 0x046a0cc0, unsigned int 20, unsigned int 3422620807, long 0) line 231 + 10 bytes
AfxWndProc(HWND__ * 0x046a0cc0, unsigned int 20, unsigned int 3422620807, long 0) line 368
AfxWndProcBase(HWND__ * 0x046a0cc0, unsigned int 20, unsigned int 3422620807, long 0) line 220 + 21 bytes
USER32! 77e71303()
USER32! 77e71962()
NTDLL! 77f763ef()
CView::OnPaint(CView * const 0x00000007 {CView hWnd=???}) line 183
MFC42! 6c371fb5()
CWnd::WindowProc(CWnd * const 0x00000007 {CWnd hWnd=???}, unsigned int 15, unsigned int 0, long 0) line 1585 + 27 bytes
AfxCallWndProc(CWnd * 0x00000000 {CWnd hWnd=???}, HWND__ * 0x046a0cc0, unsigned int 15, unsigned int 0, long 0) line 218
AfxWndProc(HWND__ * 0x046a0cc0, unsigned int 15, unsigned int 0, long 0) line 368
AfxWndProcBase(HWND__ * 0x046a0cc0, unsigned int 15, unsigned int 0, long 0) line 220 + 21 bytes
USER32! 77e71303()
USER32! 77e71962()
NTDLL! 77f763ef()


If anyone can light some light about this I would be very greatful!

// MikeConfused | :confused:



Mike Eriksson
Sonork 100.21825
GeneralRe: Back tracking error in MFC Pin
Phil J Pearson30-Sep-02 6:25
Phil J Pearson30-Sep-02 6:25 
GeneralRe: Back tracking error in MFC Pin
Mike Eriksson30-Sep-02 22:12
Mike Eriksson30-Sep-02 22:12 
GeneralRe: Back tracking error in MFC Pin
Phil J Pearson1-Oct-02 1:03
Phil J Pearson1-Oct-02 1:03 
GeneralRe: Back tracking error in MFC Pin
Michael P Butler30-Sep-02 22:33
Michael P Butler30-Sep-02 22:33 
GeneralA 'new' operator problem: Pin
ns30-Sep-02 6:11
ns30-Sep-02 6:11 
GeneralRe: A 'new' operator problem: Pin
jmkhael30-Sep-02 6:13
jmkhael30-Sep-02 6:13 
GeneralRe: A 'new' operator problem: got it now.. Pin
ns30-Sep-02 6:22
ns30-Sep-02 6:22 
GeneralRe: A 'new' operator problem: got it now.. Pin
jmkhael30-Sep-02 6:21
jmkhael30-Sep-02 6:21 
GeneralFormView override doubt Pin
RuiSantiago30-Sep-02 5:58
RuiSantiago30-Sep-02 5:58 
GeneralRe: FormView override doubt Pin
jmkhael30-Sep-02 6:02
jmkhael30-Sep-02 6:02 
GeneralRe: FormView override doubt Pin
RuiSantiago30-Sep-02 6:25
RuiSantiago30-Sep-02 6:25 
GeneralRe: FormView override doubt Pin
jmkhael30-Sep-02 6:35
jmkhael30-Sep-02 6:35 
GeneralRe: FormView override doubt Pin
RuiSantiago30-Sep-02 6:58
RuiSantiago30-Sep-02 6:58 
GeneralRe: FormView override doubt Pin
jmkhael30-Sep-02 7:44
jmkhael30-Sep-02 7:44 
GeneralRe: FormView override doubt Pin
RuiSantiago1-Oct-02 0:53
RuiSantiago1-Oct-02 0:53 
GeneralCFile and read Pin
ns30-Sep-02 5:43
ns30-Sep-02 5:43 
GeneralRe: CFile and read Pin
jmkhael30-Sep-02 5:52
jmkhael30-Sep-02 5:52 

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.