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
 

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.
 

Forum statistics

Threads
1,085,149
Messages
5,381,992
Members
401,764
Latest member
pzippel

Some videos you may like

This Week's Hot Topics

Top