0

when i run my code i get one, and i can't tell which part of my code is faulty as VC++ points me to this code from <xlocale>

_CRTIMP2_PURE facet *__CLR_OR_THIS_CALL _Decref()
			{	// safely decrement the reference count, return this when dead
			_BEGIN_LOCK(_LOCK_LOCALE)
				if (0 < _Refs && _Refs < (size_t)(-1))
					--_Refs;
				return (_Refs == 0 ? this : 0);
			_END_LOCK()
			}

if anyone could help me to find the source of the problem it would be appreciated (:

i can post my code if you want me to

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by mitrmkar
0

Can you please tell us what kind of exception you're getting? I don't believe xlocale is your own code. It will probably be called during some kind of string manipulation or formatting.

Can you post your code? If it's more than 50 lines, please attach as files.

0

i can't tell which part of my code is faulty as VC++ points me to this code from <xlocale>

At that point, open the Call Stack window (Debug / Windows / Call Stack) - likely you'll be able to step into your own code to see the offending line.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.