Solved

'CBitmapButton' : base class undefined ???

Posted on 2009-05-11
5
458 Views
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?
0
Comment
Question by:Wanting2LearnMan
  • 3
5 Comments
 
LVL 44

Expert Comment

by:AndyAinscow
Comment Utility
Requirements  
Header: afxext.h

Does that help?
0
 

Author Comment

by:Wanting2LearnMan
Comment Utility
No this did not solve the problem.  Any more ideas?

Thanks
0
 
LVL 24

Accepted Solution

by:
alexey_gusev earned 500 total points
Comment Utility
probably install SP1 for VS2005, nice and helpful MS folks deleted this class from MFC8 originally
0
 

Author Comment

by:Wanting2LearnMan
Comment Utility
OK will give that a try.  Thanks.
0
 

Author Comment

by:Wanting2LearnMan
Comment Utility
Problem solved.

 Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Exchange Server ActiveSync limit for Contacts 4 76
centeredAverage challenge 8 120
sum28 challenge 31 95
nini micro sd card issues 9 61
With Windows Embedded Handheld, called Windows Mobile, Microsoft re-designed the user interface. The Start Icon moved down to the bottom, inside the menu bar area.   If you need to hide the Start Icon and/or the SIP (soft input panel, softwar…
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now