Unhandled exception at 0x6510c3dd in EXCEL.EXE: 0xC0000005

JohnM3

New Member
Joined
Jun 17, 2012
Messages
28
The error above just started appearing in a 2007 xlsm file
I am working in. (started about 2 months ago)

When the WB closed a MS BOX came up offering a debug
option so I chose vs 2008 and it came back with the following
which is ALL over my head.
The following is from Visual Studio 2008 debugger

---------------------------------------------

/***
*ismbbyte.c - Function versions of MBCS ctype macros
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
*Purpose:
* This files provides function versions of the character
* classification a*d conversion macros in mbctype.h.
*
*******************************************************************************/

Error
Unhandled exception at 0x6510c3dd in EXCEL.EXE: 0xC0000005: Access violation reading location 0x000000b4.

Function
static int __cdecl x_ismbbtype_l (_locale_t plocinfo, unsigned int tst, int cmask, int kmask)
{
_LocaleUpdate _loc_update(plocinfo);
/*
* get input character and make sure < 256
*/
tst = (unsigned int)(unsigned char)tst;
return ((*(_loc_update.GetLocaleT()->mbcinfo->mbctype+1+tst)) & kmask) ||
((cmask) ? ((*(_loc_update.GetLocaleT()->locinfo->pctype+tst)) & cmask) : 0);
}
#endif /* _MBCS */

---------------------------------------------
This error does NOT occur in some other xlsm files but I
haven't checked that much. I am uptodate on all MS
UPDATES and I run under Windows XP.

A search using google lead to this:

http://www.wiki-errors.com/wiki-errors.php?wiki=0xc0000005

and I would have to go the fully automated route but
don't know anything about the file it wants me to download.

(a) Has anyone encountered this and if so (b) can you
offer a safe method to fix it.

regards
John
 

Some videos you may like

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

JohnM3

New Member
Joined
Jun 17, 2012
Messages
28
Note:

I just realized that the error occurs when I EXIT EXCEL .... but only when I exit 1 specific
XLSM WB.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,228
Messages
5,594,931
Members
413,953
Latest member
Arthur1471

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top