Click here to Skip to main content
15,900,589 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to diable the popup dialog in main dialog [modified] Pin
Naveen8-Jun-06 20:33
Naveen8-Jun-06 20:33 
GeneralRe: how to diable the popup dialog in main dialog [modified] Pin
happy_ram8-Jun-06 20:46
happy_ram8-Jun-06 20:46 
GeneralRe: how to diable the popup dialog in main dialog [modified] Pin
Naveen8-Jun-06 21:16
Naveen8-Jun-06 21:16 
GeneralRe: how to diable the popup dialog in main dialog Pin
Hamid_RT8-Jun-06 20:47
Hamid_RT8-Jun-06 20:47 
GeneralRe: how to diable the popup dialog in main dialog Pin
happy_ram8-Jun-06 20:52
happy_ram8-Jun-06 20:52 
GeneralRe: how to diable the popup dialog in main dialog Pin
Hamid_RT8-Jun-06 19:56
Hamid_RT8-Jun-06 19:56 
QuestionDifference between WINAPI and CALLBACK Pin
NiceNaidu8-Jun-06 18:42
NiceNaidu8-Jun-06 18:42 
AnswerRe: Difference between WINAPI and CALLBACK Pin
ThatsAlok8-Jun-06 19:13
ThatsAlok8-Jun-06 19:13 
GeneralRe: Difference between WINAPI and CALLBACK Pin
NiceNaidu8-Jun-06 19:26
NiceNaidu8-Jun-06 19:26 
AnswerRe: Difference between WINAPI and CALLBACK Pin
Hamid_RT8-Jun-06 19:21
Hamid_RT8-Jun-06 19:21 
AnswerRe: Difference between WINAPI and CALLBACK Pin
Ryan Binns8-Jun-06 19:51
Ryan Binns8-Jun-06 19:51 
GeneralRe: Difference between WINAPI and CALLBACK Pin
NiceNaidu8-Jun-06 20:00
NiceNaidu8-Jun-06 20:00 
AnswerRe: Difference between WINAPI and CALLBACK Pin
led mike8-Jun-06 20:03
led mike8-Jun-06 20:03 
QuestionNetwork Pin
Girish6018-Jun-06 18:36
Girish6018-Jun-06 18:36 
AnswerRe: Network Pin
Mila0258-Jun-06 22:58
Mila0258-Jun-06 22:58 
QuestionHow to read image frames from .avi file [modified] Pin
dinyxu8-Jun-06 17:48
dinyxu8-Jun-06 17:48 
AnswerRe: How to read image frames from .avi file [modified] Pin
Hamid_RT8-Jun-06 18:53
Hamid_RT8-Jun-06 18:53 
QuestionFailed in Win2000 But Successful on WinXP When Using CreateCompatibleBitmap(...) ??? Pin
resocman8-Jun-06 16:22
resocman8-Jun-06 16:22 
AnswerRe: Failed in Win2000 But Successful on WinXP When Using CreateCompatibleBitmap(...) ??? Pin
bob169728-Jun-06 17:34
bob169728-Jun-06 17:34 
AnswerRe: Failed in Win2000 But Successful on WinXP When Using CreateCompatibleBitmap(...) ??? Pin
Michael Dunn8-Jun-06 18:03
sitebuilderMichael Dunn8-Jun-06 18:03 
AnswerRe: Failed in Win2000 But Successful on WinXP When Using CreateCompatibleBitmap(...) ??? Pin
Hamid_RT8-Jun-06 19:25
Hamid_RT8-Jun-06 19:25 
QuestionTemplates Help? Pin
G_S8-Jun-06 14:44
G_S8-Jun-06 14:44 
AnswerRe: Templates Help? [modified] Pin
Justin Tay8-Jun-06 17:31
Justin Tay8-Jun-06 17:31 
You will notice that the error is actually due to Stack Overflow since Reset recursively calls the destructor, which calls the next destructor which... you get the idea.

The problem really is that your linked list is incorrect. Your nodes are linked lists? Your CLinked seems to try to be both a node and a linked list. There are other issues as well, but first you should go look at how other people implement linked lists.

eg.
template<class T>
class LinkedList
{
public:
   class Node
   {
      public:
        Node* GetNext();
        Node* GetPrev();
          :      :

      private:
        T element;
        Node *pNext;
        Node *pPrev; 
   }
   void Reset();
     :     :
private:
   Node *m_pHead;
   Node *m_pTail;
   int m_nCount;
     :     :
}


-- modified at 23:36 Thursday 8th June, 2006
QuestionLarge Character Text Pin
pblais8-Jun-06 13:43
pblais8-Jun-06 13:43 
AnswerRe: Large Character Text Pin
G_S8-Jun-06 15:31
G_S8-Jun-06 15:31 

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.