0
votes
Vote UpVote

Life before Interfaces

Chris Bensen – Way way back this is how IUnknown was defined before Delphi added the interface language feature: IUnknown = class public { IUnknown } function QueryInterface(const IID: TGUID; out Obj): HResult; virtual; stdcall; abstract; function _AddRef: Integer; virtual; stdcall; abstract; function _Release: Integer; virtual; stdcall; abstract; end; Here's IUnknown now: IUnknown = interface ['{00000000-0000-0000-C000-000000000046}'] function QueryInterface(const IID: TGUID; out Obj): HResult; stdcall; function _AddRef: Integer; stdcall; function _Release: Integer; stdcall; end; There are so ...
Favorite? Off-Topic? noreply@blogger.com @ 2010-06-25 16:00

Statistics

Visits: 839
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)