[fpc-pascal] Re: FPObserver Examples anywhere?

bsquared bwcode4u at gmail.com
Thu Nov 15 19:05:48 CET 2012


On 11/15/2012 08:39 AM, Sven Barth wrote:
> Am 15.11.2012 14:29, schrieb Graeme Geldenhuys:
>>   1) I would probably surface the IFPObserver methods to Public. Though
>>      there is good arguments to not do it either - thus you are forced
>>      to use correct interface usage... via Supports(), getting a
>>      interface pointer back, and using that interface pointer to make
>>      method calls.
> Note: Although the IFPObserver and IFPObserved interfaces are defined as
> Corba interfaces you should be able to use "YourInstance as IFPObserver"
> instead of "Supports()".
>
> Regards,
> Sven
> _______________________________________________
> fpc-pascal maillist  -
> fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
Is there an advantage?

-- 
Regards,
Brian




More information about the fpc-pascal mailing list