[fpc-pascal] FPObserver Examples anywhere?

Sven Barth pascaldragon at googlemail.com
Thu Nov 15 17:39:11 CET 2012


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



More information about the fpc-pascal mailing list