Delete property of MFC Activex Control

Hi,

I am building an MFC ActiveX control with one property (set/get method) and one method. It was working great. Then I deleted the property using class wizard, and manually deleted the get/set methods for that property. Now I build that control, there is no error at all. But when I tested it in Activex Control Test Container, it did not work. And to my surprise, the deleted property and its get/set methods still appear in the function list. Is it some ActiveX control version problem or what? Anyone has any idea?

Thanks,
Cindy
CindyZhouAsked:
Who is Participating?
 
AlexFMCommented:
ActiveX Control Container has function File - Register Controls which allows to register/unregister ActiveX controls. Run this function and unregister your control. Rebuild the project and try to test control again.
0
 
AndyAinscowFreelance programmer / ConsultantCommented:
Do you have an older copy of your ActiveX control installed and registered on your PC (eg. in system directory)?
0
 
AndyAinscowFreelance programmer / ConsultantCommented:
Assuming your property is XYZ you could use the FindInFiles tools to search for XYZ to make certain you have removed all traces of the property.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.