From: Vlad K. <hv...@us...> - 2011-03-31 12:21:38
|
> On 03/31/11 15:28, Vlad Khorsun wrote: >>> On the other hand I see no problems with adding that method to our >>> interfaces, specially if it's needed to make Delphi people life easier. >>> It does not conflict with our versioning support. >> Unfortunately it is not enough. To be binary compatible with IUnknown >> (not with Delphi itself but with well known stantard interface) we should use >> stdcall also. So, we can be compatible and abandon upgradeInterface, or >> not compatible and don't add confusion introducing queryInterface. > > Vlad, if really needed we can make 3 first functions in our interface to > use stdcall. This breaks nothing. And all other functions still will be cdecl ? Don't looks as beauty to me :( Regards, Vlad PS I'm not insisting on binary compatibility with IUnknown. I just want to make it clear - are we compatible or not. |