'CBitmapButton' : base class undefined ???

Posted on 2009-05-11
Last Modified: 2013-12-21
While trying to convert an eVC++ project to VS2005, when I do a build I get the following error:

error C2504: 'CBitmapButton' : base class undefined      

The line of code in question is just my own class being derived like so.
class CMyBmpButton : public CBitmapButton

How can I solve this?
Question by:Wanting2LearnMan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 44

Expert Comment

ID: 24352618
Header: afxext.h

Does that help?

Author Comment

ID: 24352805
No this did not solve the problem.  Any more ideas?

LVL 24

Accepted Solution

alexey_gusev earned 500 total points
ID: 24352872
probably install SP1 for VS2005, nice and helpful MS folks deleted this class from MFC8 originally

Author Comment

ID: 24352994
OK will give that a try.  Thanks.

Author Comment

ID: 24353499
Problem solved.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Is there a simple front-end menu system. 9 142
egit plugin on eclipse 8 124
moto 4g plus phone lockout time 4 62
Is there a Google Voice API? 9 63
Let me explain this picture a little bit.  First, in case you haven't already guessed, you are looking at my 2 phones, an Android Samsung Galaxy S5 on the left and an iPhone 5 on the right.  They are on their respective cradles on my desk.  But, you…
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, ( because one time I did this and I essentially had a bricked …
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question