On 11/15/2012 11:38 AM, Graeme Geldenhuys wrote:
On 2012-11-15 18:01, bsquared wrote:
I have had no exposure to CORBA. Your example gave me just what I needed.
CORBA style interface are simply interfaces without reference counting -
so you are in control of when to free instances.
CORBA styl
On 2012-11-15 18:01, bsquared wrote:
>
> I have had no exposure to CORBA. Your example gave me just what I needed.
CORBA style interface are simply interfaces without reference counting -
so you are in control of when to free instances.
CORBA style interfaces (as seen in FPC) are far from a comp
On 2012-11-15 18:05, bsquared wrote:
>>
> Is there an advantage?
No difference, other than that I find Supports() easier to read.
G.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 2012-11-15 16:39, Sven Barth wrote:
> Note: Although the IFPObserver and IFPObserved interfaces are defined as
> Corba interfaces you should be able to use "YourInstance as IFPObserver"
> instead of "Supports()".
Correct, but my preference is to use Supports() - it makes the code
easier to r
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
On 11/15/2012 05:29 AM, Graeme Geldenhuys wrote:
On 2012-11-15 01:15, bsquared wrote:
Hello,
Does anyone know of any example code for the FPObserver interface?
Preferable with Collections.
Sure, see attached. It's very basic, but shows the functionality.
NOTE:
I used latest 2.7.1 compiler
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 th
On 2012-11-15 01:15, bsquared wrote:
> Hello,
>
> Does anyone know of any example code for the FPObserver interface?
> Preferable with Collections.
Sure, see attached. It's very basic, but shows the functionality.
NOTE:
I used latest 2.7.1 compiler, where some base classes in the RTL
suppor