I'm trying to add automation functions to a class that I've created derived from CCmdTarget. This involves adding entries into the dispatch map of the derived class. In VC++6 this could be done automatically using the class wizard's automation tab. But does anyone know how to do it in VS.NET ? There's a knowledge base entry that explains how class wizard has been integrated into the dev enviroment, but it doesn't say what happened to this particular feature (automation is mentioned for proper COM interfaces, but that doesn't help me here since I'm not dealing with a COM interface, I'm dealing with a class derived from CCmdTarget).
I came across this problem because I've been following a tutorial (link below), and it's step 5 that is causing me the problem, since I can't find a way to automatically add the functions to the dispatch map.
Is there a way to automatically add the Dispatch map entries?
Thanks in advance