[fpc-pascal]Re: fpc-pascal digest, Vol 1 #1646 - 4 msgs

vkrish at vkrish.cjb.net vkrish at vkrish.cjb.net
Tue Jan 7 18:12:07 CET 2003



> vkrish at vkrish.cjb.net wrote:
> > On a different subject: why do interfaces in FPC inherit from IUnknown ? Is this for supporting COM ? If objects are not reference counted why then interfaces are ?
> 
> If you declare corba interfaces, they won't be ref. counts.
> {$interfaces corba} does the trick, it applies to all interfaces 
> declared after that switch.
> 
Ha!. thx for the enlightenment. So to obtain Java/Objective-C like interfaces, I just need to put {$interfaces corba}. right ?

cheers,
-Krish





More information about the fpc-pascal mailing list