Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Class Wizard and CObject derived classes

Posted on 1999-07-05
3
Medium Priority
?
405 Views
Last Modified: 2006-11-17
How do I get the Class Wizard to see my CObject derived class?  Right now I would like to use the Wizard to modify my class by it does not appear in the Wizard.
Thanks
0
Comment
Question by:SimGuyNowPCs
[X]
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 Comments
 

Accepted Solution

by:
Extreme earned 150 total points
ID: 1199170
Open the wizard, you'll see an Add Class button. You can add it here by giving it the proper filenames and class name, however, you'll need to have your class set up pretty much like MSVC sets up theirs.
For instance the;

//{{AFX_MSG
//}}AFX_MSG

and other comments are read by the wizard and need to be there so he knows where to put what.

I've never done it like that, though, I always do my classes manually. Hope this helps :o)
0
 
LVL 4

Expert Comment

by:pagladasu
ID: 1199171
You cannot add a class derived from CObject using the wizard. In fact, any class that you derive from CObject must be created manually. Make sure that the header file stdafx.h is included.

0
 

Author Comment

by:SimGuyNowPCs
ID: 1199172
Thanks for taking the extra time to give a step-based answer.  I guess that I really knew the answer, I was just looking for some ingenious way to be aboe to use the Wizard.

Thanks - Charlie
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

721 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