R
RLWA32
Guest
I just tried using the two wizards mentioned above in a VS2017 15.8.8 ATL COM project (local server) to add a method and a property to a dual interface.
Unlike prior versions of visual studio, the wizards offered none of the choices regarding parameter lists and IDL attributes and the generated IDL did not even contain dispatch ids.
Has anyone else noticed this problem with VS2017?
Update:
Same problems with VS2017 Commuity 15.8.9
In addition to omitting dispatch ids, wizard generated IDL for properties generates bad code (i.e., get method does not return an HRESULT, no IDL generated for [out, retval] with appropriate pointer variable.
Also, ATL wizard for creating a Simple Object places the numeric value of the rgs script resource in the DECLARE_REGISTRY_RESOURCEID macro instead of the definition contained in resource.h
Continue reading...
Unlike prior versions of visual studio, the wizards offered none of the choices regarding parameter lists and IDL attributes and the generated IDL did not even contain dispatch ids.
Has anyone else noticed this problem with VS2017?
Update:
Same problems with VS2017 Commuity 15.8.9
In addition to omitting dispatch ids, wizard generated IDL for properties generates bad code (i.e., get method does not return an HRESULT, no IDL generated for [out, retval] with appropriate pointer variable.
Also, ATL wizard for creating a Simple Object places the numeric value of the rgs script resource in the DECLARE_REGISTRY_RESOURCEID macro instead of the definition contained in resource.h
Continue reading...