C
carl.clawson
Take a COM interface with a property declared like this:
[propget, id(1)] HRESULT SomeProperty([out] int *sideProperty, [out,
retval] int *mainProperty);
This is weird but in COM it returns sideProperty when you call it. It
even marshals correctly if you remote it.
..NET appears unable to read sideProperty out of the object, even
though the typelib-generated RCW shows it as a ByRef argument.
I've been having fun with this, but no luck yet.
Is there a better solution than writing a wrapper COM object to
present the other value as another property?
[propget, id(1)] HRESULT SomeProperty([out] int *sideProperty, [out,
retval] int *mainProperty);
This is weird but in COM it returns sideProperty when you call it. It
even marshals correctly if you remote it.
..NET appears unable to read sideProperty out of the object, even
though the typelib-generated RCW shows it as a ByRef argument.
I've been having fun with this, but no luck yet.
Is there a better solution than writing a wrapper COM object to
present the other value as another property?