[fpc-pascal] Interfaces in FPC

Vincent Snijders vsnijders at quicknet.nl
Thu Mar 9 20:22:02 CET 2006


Jonas Maebe wrote:
> 
> On 9 mrt 2006, at 19:58, Rodrigo Palhano wrote:
> 
>> On Thu, 09 Mar 2006 15:53:34 -0300, Jonas Maebe  
>> <jonas.maebe at elis.ugent.be> wrote:
>>
>>> On 9 mrt 2006, at 19:34, Rodrigo Palhano wrote:
>>>
>>>> Are interfaces in FPC reference counted like in Delphi ?
>>>
>>>
>>> Yes.
>>
>>
>> Why is that ?
> 
> 
> Because Delphi also does it and because we are Delphi-compatible? I  
> don't know.
> 
>> Is there anyway i could deactivate this ref count feature?
> 
> 
> I think so, but I don't know how.
> 

Add {$INTERFACES CORBA} to your source.

See http://www.freepascal.org/docs-html/prog/progsu27.html and 
http://www.freepascal.org/docs-html/ref/refse36.html

Vincent



More information about the fpc-pascal mailing list