Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWin32 project type Pin
zon_cpp29-Jan-06 9:33
zon_cpp29-Jan-06 9:33 
AnswerRe: Win32 project type Pin
Christian Graus29-Jan-06 15:48
protectorChristian Graus29-Jan-06 15:48 
GeneralRe: Win32 project type Pin
zon_cpp29-Jan-06 23:17
zon_cpp29-Jan-06 23:17 
GeneralRe: Win32 project type Pin
Christian Graus30-Jan-06 9:15
protectorChristian Graus30-Jan-06 9:15 
QuestionRe: MDI-Opening a new document type from IDR_MAINFRAME Pin
misugi29-Jan-06 9:25
misugi29-Jan-06 9:25 
QuestionDLL crashing Pin
tansey429-Jan-06 8:48
tansey429-Jan-06 8:48 
AnswerRe: DLL crashing Pin
Stephen Hewitt29-Jan-06 11:25
Stephen Hewitt29-Jan-06 11:25 
GeneralRe: DLL crashing Pin
tansey429-Jan-06 15:33
tansey429-Jan-06 15:33 
Hi Steve,

I just spent a long while debugging, and it seems that the app is crashing when I call clear() on an stl map which is a member variable of an object which is a member variable of StatsDB. Not sure at all why that it's happening here.

The message I get while debugging is: Unhandled exception at 0x1007619d (BotAI.dll) in Simulator.exe: 0xC0000005: Access violation reading location 0xcdcdce06.

The actual line it dies is:
void _Erase(_Nodeptr _Rootnode)<br />
		{	// free entire subtree, recursively<br />
		for (_Nodeptr _Pnode = _Rootnode; !_Isnil(_Pnode); _Rootnode = _Pnode)<br />
			{	// free subtrees, then node<br />
			_Erase(_Right(_Pnode));<br />
			_Pnode = _Left(_Pnode);<br />
			this->_Alnod.destroy(_Rootnode);	// destroy, free erased node<br />
			this->_Alnod.deallocate(_Rootnode, 1);<br />
			}<br />
		}Line 3 of the above pasted segment.

GeneralRe: DLL crashing Pin
Stephen Hewitt29-Jan-06 15:38
Stephen Hewitt29-Jan-06 15:38 
AnswerRe: DLL crashing Pin
Prakash Nadar29-Jan-06 17:46
Prakash Nadar29-Jan-06 17:46 
General[Message Deleted] Pin
Laxman929-Jan-06 18:00
Laxman929-Jan-06 18:00 
GeneralRe: DLL crashing Pin
Prakash Nadar29-Jan-06 18:18
Prakash Nadar29-Jan-06 18:18 
GeneralRe: DLL crashing Pin
Owner drawn29-Jan-06 18:35
Owner drawn29-Jan-06 18:35 
AnswerRe: DLL crashing Pin
Laxman929-Jan-06 18:31
Laxman929-Jan-06 18:31 
QuestionF1 help annoyance Pin
Uakari29-Jan-06 3:47
Uakari29-Jan-06 3:47 
AnswerRe: F1 help annoyance Pin
Owner drawn29-Jan-06 17:03
Owner drawn29-Jan-06 17:03 
QuestionRe: F1 help annoyance Pin
Uakari29-Jan-06 22:56
Uakari29-Jan-06 22:56 
AnswerRe: F1 help annoyance Pin
Owner drawn29-Jan-06 22:58
Owner drawn29-Jan-06 22:58 
GeneralRe: F1 help annoyance Pin
Uakari29-Jan-06 23:16
Uakari29-Jan-06 23:16 
GeneralRe: F1 help annoyance Pin
Owner drawn29-Jan-06 23:31
Owner drawn29-Jan-06 23:31 
GeneralRe: F1 help annoyance Pin
Uakari30-Jan-06 1:51
Uakari30-Jan-06 1:51 
GeneralRe: F1 help annoyance Pin
Owner drawn30-Jan-06 16:54
Owner drawn30-Jan-06 16:54 
QuestionDatabase conversion using C++ Pin
SWDevil29-Jan-06 1:49
SWDevil29-Jan-06 1:49 
AnswerRe: Database conversion using C++ Pin
Eytukan29-Jan-06 3:01
Eytukan29-Jan-06 3:01 
GeneralRe: Database conversion using C++ Pin
SWDevil30-Jan-06 4:51
SWDevil30-Jan-06 4:51 

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.