Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to delete a method?

Posted on 2006-06-22
1
Medium Priority
?
207 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 500 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

877 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