RE: subwcrevcom 1.8 incompatibility
From: Fejes József <Fejes.Jozsef_at_argonsoft.hu>
Date: Fri, 28 Jun 2013 20:23:11 +0000
Hi,
> If the COM interface's v-table layout changed, I think you would only see the
> problem when using early binding (while referencing an version of the old
> type library, or an old version of the IDL, depending on language).
>
> The testCOM.js script looks like it is using late binding, so it will be looking up
> all the methods etc. by name at runtime (via IDispatch) without making
> assumptions about the v-table layout, and won't mind if the v-table changes.
>
> Jozsef, which language are you calling the COM object from?
I'm using Visual Studio/.NET. I referenced the ISubWCRev COM interface, and the
framework compiles a proxy class into the executable. There is no sign of IDispatch,
instead it uses constant DISPID values. So when I'm calling the 1.8 COM class with
an 1.7 reference, the Url property does return a date.
I will try to look into using an IDispatch proxy class, let's hope it works. But
even if that works, this kind of interface change is problematic.
Best regards,
Jozsef
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.