Solved

'CBitmapButton' : base class undefined ???

Posted on 2009-05-11
5
465 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sameEnds challenge 3 133
has22 challenge 11 78
Add mobile access to browser application 3 167
post4 challenge 28 91
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

932 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

12 Experts available now in Live!

Get 1:1 Help Now