Follow Us
Contribute
  • Register
Errorbase is a collaborative writing project, that aims to build the largest trouble-shooting guide about all kinds of error messages.

Categories

+1 vote
These are the two error occurs in my every program, so help me to FIX it...

* c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2736) : error C2523: 'CBitmapButton::~CButton' : destructor tag mismatch

* c:\program files\microsoft visual studio\vc98\mfc\include\afxext.h(74) : error C2504: 'CButton' : base class undefined
requested by
edited by

1 Solution

+1 vote

I think you can fix that problem with the below line:

CBitmapButton::~CBitmapButton

It is better to have the same name for the destructor and the class identifier. Apparently you don't have a class named "CButton"

solved by (560 points)
edited by
...