delphidabbler/vilib

Remove `IVerInfoBinaryPvt` and replace with cast to underlying object

delphidabbler opened this issue · 2 comments

IVerInfoBinaryPvt = interface(IUnknown)

According to a Stackoverflow answer:

...Beginning with Delphi 2010, you are able to use the as operator, e.g. via aObject := aInterface as TObject or even aObject := TObject(aInterface). ...

So IVerInfoBinaryPvt, that was necessary in Delphi 7, is no longer needed.

Can be implemented while converting code to Delphi 11 (see issue #4)

According to a Stackoverflow answer:

That Stackoverflow answer is here.