Solved

How to delete a method?

Posted on 2006-06-22
1
198 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 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

14 Experts available now in Live!

Get 1:1 Help Now