Click here to Skip to main content
15,891,375 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Large Character Text Pin
Ryan Binns8-Jun-06 19:54
Ryan Binns8-Jun-06 19:54 
QuestionCan DirectShow play Mp3 stream? Pin
Cyrus Dang8-Jun-06 11:22
Cyrus Dang8-Jun-06 11:22 
AnswerRe: Can DirectShow play Mp3 stream? Pin
hmklakmal8-Jun-06 12:11
hmklakmal8-Jun-06 12:11 
AnswerRe: Can DirectShow play Mp3 stream? Pin
Justin Tay8-Jun-06 16:48
Justin Tay8-Jun-06 16:48 
GeneralRe: Can DirectShow play Mp3 stream? [modified] Pin
Cyrus Dang9-Jun-06 4:10
Cyrus Dang9-Jun-06 4:10 
GeneralRe: Can DirectShow play Mp3 stream? Pin
Justin Tay10-Jun-06 4:33
Justin Tay10-Jun-06 4:33 
AnswerRe: Can DirectShow play Mp3 stream? Pin
Hamid_RT8-Jun-06 19:05
Hamid_RT8-Jun-06 19:05 
GeneralRe: Can DirectShow play Mp3 stream? Pin
Cyrus Dang9-Jun-06 4:13
Cyrus Dang9-Jun-06 4:13 
QuestionWant to plot some points on something from within a dll Pin
ns8-Jun-06 10:56
ns8-Jun-06 10:56 
QuestionHow to know when Dialog is open Pin
sschilachi8-Jun-06 10:53
sschilachi8-Jun-06 10:53 
AnswerRe: How to know when Dialog is open Pin
Michael Dunn8-Jun-06 10:59
sitebuilderMichael Dunn8-Jun-06 10:59 
QuestionRe: How to know when Dialog is open [modified] Pin
sschilachi8-Jun-06 11:18
sschilachi8-Jun-06 11:18 
AnswerRe: How to know when Dialog is open [modified] Pin
Roger Stoltz8-Jun-06 13:02
Roger Stoltz8-Jun-06 13:02 
QuestionRe: How to know when Dialog is open [modified] Pin
sschilachi8-Jun-06 23:14
sschilachi8-Jun-06 23:14 
AnswerRe: How to know when Dialog is open [modified] Pin
Roger Stoltz9-Jun-06 2:05
Roger Stoltz9-Jun-06 2:05 

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.