Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debug Assertion failed Error Pin
ThatsAlok10-Dec-04 1:24
ThatsAlok10-Dec-04 1:24 
GeneralRe: Debug Assertion failed Error Pin
Shailaja10-Dec-04 1:37
Shailaja10-Dec-04 1:37 
GeneralRe: Debug Assertion failed Error Pin
ThatsAlok10-Dec-04 2:16
ThatsAlok10-Dec-04 2:16 
QuestionHow to use CTabCtrl Pin
toxcct9-Dec-04 23:55
toxcct9-Dec-04 23:55 
AnswerRe: How to use CTabCtrl Pin
Mircea Puiu10-Dec-04 0:41
Mircea Puiu10-Dec-04 0:41 
AnswerRe: How to use CTabCtrl Pin
Maximilien10-Dec-04 0:41
Maximilien10-Dec-04 0:41 
AnswerRe: How to use CTabCtrl Pin
Cedric Moonen10-Dec-04 0:55
Cedric Moonen10-Dec-04 0:55 
General:(( Help in CTypedPtrList / Clist Pin
M AZZAAAM9-Dec-04 23:16
M AZZAAAM9-Dec-04 23:16 
Hi!
I m a beginner in VC++. I just started working on a project in VC++ 6.0. I am developing an SDI application. I am using template class :

CTypedPtrList <coblist, cmytype*=""> m_MyList;

in the document to get all values from database.
I populate the list in the initial update function of VIEW.
class CMyType : public CObject
{
HTREEITEM hti;
CString sName;
CString sID;
int nCount;
};
CMyType *pNT = new CMyType();
GetDocument()->m_myListofNodes.AddTail(pNT);

On closing the application, I get following error:

ERROR # 1
/////////////////////////////////////////////////////////////
MySystem - Untitled: MySystem.exe - Application Error
//////////////////////////////////////////////////////////////

The instruction at "0x10213035" refrenced memory at "0x00000015".
The memory could not be "read".
Click on OK to terminate the program.

/////////////////////////////////////////////////////////////////

If i try to delete the item from list, then window pops up saying that tell this problem to Microsoft.

ERROR#2
////////////////////////////////////////////////////////////
"MySystem MFC Application has encountered a problem and needs to close. We are sorry for the inconvenience."
On pressing DONT SEND, it gives the ERROR # 1.


If application is run in Debug mode, then it gives

ERROR # 3
///////////////////////////////////////////////////////////////
Unhandled exception in MySystem.exe (MSVCRTD.DLL):0xC0000005 Access violation

By pressing OK, it takes me to CBHEAP.C file at:

// unlink entry from list
pPrev->pEntryPrev->pEntryNext = pPrev->pEntryNext;
pPrev->pEntryNext->pEntryPrev = pPrev->pEntryPrev;
...
I really dont know whats going on ...
It will be really pleasant if any one can help me out.
Thnx
GeneralPb using the OFN_NOCHANGEDIR flag Pin
Forest20049-Dec-04 22:32
Forest20049-Dec-04 22:32 
Questionhow do u get the arrow key events in a window?? Pin
namaskaaram9-Dec-04 22:32
namaskaaram9-Dec-04 22:32 
AnswerRe: how do u get the arrow key events in a window?? Pin
ThatsAlok10-Dec-04 0:00
ThatsAlok10-Dec-04 0:00 
GeneralCreation of DLL from ActiveX control Pin
tspramod9-Dec-04 22:25
tspramod9-Dec-04 22:25 
GeneralConverting Hex number to Dec number Pin
Mythri.B.L9-Dec-04 21:38
Mythri.B.L9-Dec-04 21:38 
GeneralRe: Converting Hex number to Dec number Pin
ThatsAlok9-Dec-04 21:50
ThatsAlok9-Dec-04 21:50 
GeneralRe: Converting Hex number to Dec number Pin
ThatsAlok9-Dec-04 21:50
ThatsAlok9-Dec-04 21:50 
GeneralRe: Converting Hex number to Dec number Pin
Cedric Moonen9-Dec-04 21:56
Cedric Moonen9-Dec-04 21:56 
GeneralRe: Converting Hex number to Dec number Pin
Mircea Puiu10-Dec-04 0:24
Mircea Puiu10-Dec-04 0:24 
QuestionCould anyone help me to comment these code in detail? Pin
LiYS9-Dec-04 21:32
LiYS9-Dec-04 21:32 
AnswerRe: Could anyone help me to comment these code in detail? Pin
ThatsAlok9-Dec-04 22:12
ThatsAlok9-Dec-04 22:12 
AnswerRe: Could anyone help me to comment these code in detail? Pin
LiYS9-Dec-04 22:15
LiYS9-Dec-04 22:15 
GeneralRe: Could anyone help me to comment these code in detail? Pin
Mircea Puiu10-Dec-04 0:29
Mircea Puiu10-Dec-04 0:29 
GeneralProblem about Owner Window Pin
Arcrest9-Dec-04 21:21
Arcrest9-Dec-04 21:21 
GeneralForward key to another controller Pin
Mathias S.9-Dec-04 21:11
Mathias S.9-Dec-04 21:11 
GeneralInstance of a class..... Pin
aaadetos9-Dec-04 20:44
aaadetos9-Dec-04 20:44 
QuestionHow to get WM_VSCROLL? Pin
freehawk9-Dec-04 20:27
freehawk9-Dec-04 20:27 

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.