com - MIDL. Why callback c++ interface doesn't renewed after method added to idl? -
i try implement callback interface com techonlogy , have idl that:
library logstreamscannerlib { importlib("stdole2.tlb"); [ uuid(8cacf064-ef0e-4496-92d5-f26c64a5858a) ] dispinterface _imyclassevents { properties: methods: [id(1)] void somemethod([in] int data); }; [ uuid(afc03fcd-01a9-4f38-994f-ba98e57ff64e) ] coclass mycomclass { [default] interface imyclass; [default, source] dispinterface _imyclassevents; }; }; please note, imyclass has somemethod declaration can't figure out why doesn't appear in auto generated classes when recompile/rebuild project.
it's declared empty:
midl_interface("8cacf064-ef0e-4496-92d5-f26c64a5858a") _imyclassevents : public idispatch { }; what wrong here ?
i assume mean using com connection points? here link atl connection points documentation in msdn.
if trying figure out how generate event proxy class, @ point 4 in adding connection points object , here msdn tutorial adding event. can regenerate event proxy classes many times like.
what find have go looking generate proxy classes...
Comments
Post a Comment