New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implements keyword and missing members for an extended interface #388
Comments
I have a similar defined interface in one of my tests that does not exhibit this problem. Any chance you could you share the typelibrary for me to take a look? |
Sure. Both .odl (source code) and .tlb (compiled file) are located here |
Ah ok, it's because IOleInPlaceActiveObjectVB inherits from the custom OLEGuids.IDispatch rather than stdole.IDispatch. tB needs to notice the interface IID is the same as IID_IDispatch and auto-implement as if it is stdole.IDispatch |
Fixed in v0.10.5021. There are probably some other edge cases involving custom defined IDispatch replacements that need to be looked into, but that's for another day. Thanks |
The same needs to be done for IID_IUnknown I guess. In the OLEGuids typelib is a custom IUnknownUnrestricted which is the same uuid than stdole.IUnknown.
|
@Kr00l also done for IUnknown in v0.10.5080, thanks. |
Describe the bug
I have a type lib with following definition: (which extends IDispatch)
and in VBx I only need to implement the member for TranslateAccelerator.
However, tB want's in addition all the members of the extended interface IDispatch.
But IDispatch is an extended interface of IUnknown. However, tB does not ask for IUnknown members, which is correct.
To Reproduce
n/a
Expected behavior
to not need to have the member definition in a class for IDispatch for above example of IOleInPlaceActiveObjectVB.
Screenshots
Desktop (please complete the following information):
Additional context
n/a
The text was updated successfully, but these errors were encountered: