I have generated an ATL COM object using VS2008 and the code contains references to a definition called _MERGE_PROXYSTUB
(because I chose the 'Merge proxy/stub' option when I initially ran the wizard.)
What is the point of a proxy/stub? If I don't select the the merge option then I get a separate MyControlPS.DLL
instead - when would this ever be used?
FWIW the control seems to register and work fine if I remove all the code surrounded by the _MERGE_PROXYSTUB
defines. A debug build doesn't even define _MERGE_PROXYSTUB
and it still works OK.
So, can I do without a proxy/stub?