![]() |
static release vs2005 |
Post Reply ![]() |
Author | |
jjqin ![]() Newbie ![]() Joined: 18 October 2007 Location: United States Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 31 July 2009 at 11:14am |
Hi support,
I build my project in VS2005 static release mfc, it build myapp.exe ok. When run it, it crash on allocte.cpp line 255 "if(iCategory == m_pProcess->CategoryCount())"
CAtlTraceCategory *CAtlAllocator::GetCategory(int iCategory) const
{ if(iCategory == m_pProcess->CategoryCount()) return NULL; ATLASSERT((iCategory < m_pProcess->CategoryCount()) || (iCategory == -1));
CAtlTraceCategory *pCategory = NULL; if(iCategory >= 0) { BYTE *pb = reinterpret_cast<BYTE *>(m_pProcess) + m_pProcess->MaxSize(); pCategory = reinterpret_cast<CAtlTraceCategory *>(pb) - iCategory - 1; } return pCategory; } Any idea? Thanks in advance,
-JJ
|
|
![]() |
|
jjqin ![]() Newbie ![]() Joined: 18 October 2007 Location: United States Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
the file is in C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\src\atl\atls\Allocate.cpp |
|
![]() |
|
jjqin ![]() Newbie ![]() Joined: 18 October 2007 Location: United States Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
First-chance exception at 0x005c251e in Blueprint.exe: 0xC0000005: Access
violation reading location 0x0000001c |
|
![]() |
|
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
So what does this question have to do with the Xtreme Toolkit Pro?
Probably the object you are calling GetCategory on is bad, I guess a null-pointer (myNullPointer->GetCategory()). |
|
Codejock support
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |