visual studio 2008 - create simple atl object with connection points Fire methods not being generated -


I created the ATL dll project in Visual Studio 2008 and generated the following category ...

template & Lt; Class T & gt;
Class CProxy_IAutomateEvents: Public IConnectionPointImpl & LT; T, & amp; __ uuidof (_IAutomateEvents), CComDynamicUnkArray & gt;


// This class will be revived by the Warning Wizard. Public: <. Br>};

I added methods to dispatulate IAutomateEvents in IDL and then compiled. I can not understand how this generates fire_ methods. Which wizard is talking about? I do not want to do so manually because I could become a fashion that has become old or if the run said at some point in place of the magician. I find this option to click on the class and select to add a connection point, but this option does not show help?

When you update the event interface, the proxy class has not been automatically updated, so when you Changes are made with, you need to reproduce the proxy class so that new methods appear on it.

Replacing the proxy class, for your project you see open class, then you find your class and the context menu you choose, add connection point through add. Do not worry about the connection point already applied, just add it first so that it is the first time. Your class will be updated, and the proxy class will be with event generation methods.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -