0
votes
Vote UpVote

Interface methods are not assignment compatible with method references or methods of object.

The Wiert Corner – Boy I wish that QC was still up and QualityPortal was publicly indexable as that would have saved me quite a bit of time tracking this down. Luckily I got help from Stefan Glienke (who maintains the awesome Spring4D library based on modern Delphi compiler support) when I mentioned How good are you with reference to function? I’ve an odd compiler thing throwing errors when using interfaces but not with classes. So, for posterity: Unlike C#, in Delphi interface methods are not compatible with method references or methods of object. This has many manifestations, which means you can get a ...
Favorite? Off-Topic? jpluimers @ 2019-04-02 07:04

Statistics

Visits: 120
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)