[Lazarus] Implementing COM interfaces

Lubos Pintes pintes at gmail.com
Thu Sep 22 14:36:39 CEST 2011


Oh I was a bit wrong when I told that IA2 is suported on Linux. Maybe it 
is, but I am not totally sure. Read about it briefly here:
http://www.linuxfoundation.org/collaborate/workgroups/accessibility/iaccessible2

The open-source screen reader Nvda supports this standard. For example 
Firefox and Eclipse are perfectly usable.
So I think that it would be suitable enough for Lazarus also, if that is 
possible.
Dňa 22.9.2011 13:46, Sven Barth wrote / napísal(a):
> Am 22.09.2011 12:38, schrieb Lubos Pintes:
>> It is also supported on Linux.
>
> How is that done?
>
>> IAccessible2 interfaces are exposed as .IDL file /type library. So my
>> questions are:
>> Is it possible to implement such interfaces in free pascal?
>
> The compiler got many improvements regarding COM compatibility in the 
> last years, so yes one can implement such interfaces.
>
>> What about importing type library / converting .IDL to pascal?
>
> As far as I know you'll need to use Delphi to convert the type library 
> to a Pascal unit. There is no converter for FPC (yet).
>
> Regards,
> Sven
>
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>





More information about the Lazarus mailing list