c++ - Microsoft IDL, Change attributes on an interface -
some time ago prepared idl file define interface plugins of vb6 application.
reviewing code found there interface looks this:
[ odl, uuid(<some guid>), version(1.0), nonextensible, oleautomation ] interface iplugin : iunknown { hresult dosomething(); }
this interface used in vb6 , c++ components (dlls) expose main plugin class, exe refers typelibrary keep reference of plugin classes.
what remove odl, version , nonextensible because not required, , add object attribute correctly define com interface.
- now entire system in production, can change attributes on interface?
- can without compatibility issues?
thank you
Comments
Post a Comment