Hi,
I'm currently playing around with the Document! X evaluation version. I'm very new to this software and this may be stupid questions, so please be patient with me. And here it goes:
I'm facing problems with importing TypeLibs:
- There is an object that fires events in two ways. The client has the choice about using a pure dispinterface or an IUnknown derived interface. Document! X correctly uses only the [default, source] interface for the events listed in the member's section. But it incorrectly lists the second interface as implemented on the overview sheet. Since I talk about an outgoing interface, it's up to client to implement this interface. Example-IDL:
[uuid(...)]
coclass Foo
{
[default] interface IFoo;
[default, source] interface _DIFooEvents;
[source] interface IFooEvents;
};
This results in "Implemeted Interface: IFooEvents", which is not true. How do I solve this?
- The TypeLib describes several collections and I marked them as being so (Flags: Is a Collection). Unfortunately I can't find entries generated for the Item property. How can I get them? The IDL looks as follows:
[id(0x00000000), propget] HRESULT Item([in] const VARIANT varIndex, [out, retval] VARIANT* pVal);