Motherboard Forums


Reply
Thread Tools Display Modes

Second Oops with Beta

 
 





















Junior Member
Join Date: Apr 2009
Posts: 21

 
      04-14-2009, 10:38 AM


I didn't wait for votes on switching to MFC versus putting the code in a dll. I used the MFC wizard to create a stub app. It compiled and ran fine with VC9. I then switched to ICC11 and recompiled. It ran fine until I exited the stub. I got this message:

The thread 'Win32 Thread' (0x1434) has exited with code 0 (0x0).

First-chance exception at 0x78a572dc (mfc90ud.dll) in RatMFC.exe: 0xC0000005: Access violation reading location 0xfffffffc.

Unhandled exception at 0x78a572dc (mfc90ud.dll) in RatMFC.exe: 0xC0000005: Access violation reading location 0xfffffffc.

Here's the stack:

mfc90ud.dll!ATL::CStringData::Release() + 0xc bytes
mfc90ud.dll!ATL::CSimpleStringT<wchar_t,1>::~CSimp leStringT<wchar_t,1>() + 0x1e bytes
mfc90ud.dll!ATL::CStringT<wchar_t,StrTraitMFC_DLL< wchar_t,ATL::ChTraitsCRT<wchar_t> > >::~CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL:: ChTraitsCRT<wchar_t> > >() + 0x11 bytes
RatMFC.exe!CRatMFCView::GetMessageMap() + 0x64 bytes C++
msvcr90d.dll!___freeCrtMemory() + 0x275 bytes
msvcr90d.dll!_exit() + 0x12 bytes
> RatMFC.exe!__tmainCRTStartup() Line 599 C
RatMFC.exe!wWinMainCRTStartup() Line 403 C
kernel32.dll!_BaseProcessStart@4() + 0x23 bytes

This happened on exit, so the workaround is obvious, but a longer term fix would be good. I made no changes to the standard compiler switches.



_________________________-
http://www.compuquotes.com/life-insu...alculator.html
texas mortgage lending cash out of refinancing

Last edited by tweety; 04-14-2009 at 10:59 AM..
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Oops -- sorry Tom Scales Dell 8 11-28-2007 10:41 AM
OT Beta testing for Tom Scales Star@*.* Dell 10 05-25-2007 02:27 AM
A8V Deluxe Beta Bios 1018 Asus 2 04-30-2007 09:51 PM
Beta Bios 1001 fo M2N32-SLI Deluxe Alfred Kaufmann Asus 0 04-11-2007 09:36 PM
Google Groups - Beta Boris Dell 1 01-11-2007 03:58 PM


All times are GMT. The time now is 06:57 AM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43