[Lazarus] Implementing COM interfaces

Sven Barth pascaldragon at googlemail.com
Thu Sep 22 13:46:52 CEST 2011

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).


More information about the Lazarus mailing list