As far as I remember, Delphi 5 and on has an IDL compiler included,
I suppose same is used to generate an interface unit when you do "import
type library". Is this possible with TP, too ?
and can generate IDL code from an Object Pascal hierarchy.
I suppose this is true and necessary when creating a COM server. I never
tried to do something like this yet.
So in FPC one can envision automatic generation of IDL description
based on an interface hierarchy. There might, however, already be some
parsers (independent of Borland) that do that.
A final remark. Code sharing through COM/DCOM can lead to the
following "Hello World" program:
http://www.ffzg.hr/infosl/fun/HelloWorld.htm (see the master
programmer example)
:-) :-) :-)
-Michael
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel