Solved

'CBitmapButton' : base class undefined ???

Posted on 2009-05-11
5
475 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
ID: 24352618
Requirements  
Header: afxext.h

Does that help?
0
 

Author Comment

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

Thanks
0
 
LVL 24

Accepted Solution

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

Author Comment

by:Wanting2LearnMan
ID: 24352994
OK will give that a try.  Thanks.
0
 

Author Comment

by:Wanting2LearnMan
ID: 24353499
Problem solved.

 Thanks
0

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
matchUp  challenge 9 123
mapAB Challlenge 35 171
moto 4g plus silence 65 133
Bartender label printing - switch on and off graphics 3 71
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

685 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