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
Solved

How to delete a method?

Posted on 2006-06-22
1
202 Views
Last Modified: 2010-08-05
Hi,

I'm using VS 2003 C++ to develop an ActiveX control. I used to the Add Method wizard to add a method to the control but I've changed my mind and now I want to delete the method. VC6.0 used to let me do this in Class Wizard but I can't seem to find a way to do it in VS2003. Any help would be greatly appreciated.

Thanks
0
Comment
Question by:krmj
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 125 total points
ID: 16966429
You need to remove it manually. Wizard support in 2003 version is restricted, Wizard can only add methods, variables, handlers etc., but doesn't maintain them once they added.
Don't forget to remove method both from C++ code and from IDL.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…

839 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