Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-04

Tips on building OLEServer calls

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mark, Joseph Sweeney

Hello there,

I'm trying to use FPC to compile and build an application that includes an COM type library.
This type library was generated through Borland Delphi 7. When doing this through FPC it asks for OleServer, which then uses the TDispId class.

Do you know if FPC can use OleServer,
or does it have its own implementation of accessing COM or is there a way of generating a type library though FPC.

Or what way would you recommend to do this?

Thanks
Mark

Reply by email

Michael Van Canneyt
to Mark, Joseph Sweeney
Joseph Sweeney wrote 13 lines
Hello there, I'm trying to use FPC to compile and build an application that includes an COM type library. This type library was generated through Borland Delphi 7. When doing this through FPC it asks for OleServer, which then uses the TDispId class. Do you know if FPC can use OleServer, or does it have its own implementation of accessing COM or is there a way of generating a type library though FPC. Or what way would you recommend to do this?

I am not sure it is possible; Currently, FPC has no support for DispInterface interfaces, which Delphi uses to implement OLE servers.

Michael.

Reply by email

Mark, Joseph Sweeney
to Michael Van Canneyt

Thanks for the quick response.
I did read somewhere Jedi and FPC could do this together. Do you know anything about this?

Cheers
Mark

Show quoted text 32 lines
From: Michael Van Canneyt Reply-To: FPC-Pascal users discussions To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] Tips on building OLEServer calls Date: Mon, 11 Apr 2005 14:55:52 +0200 (Romance Daylight Time) On Mon, 11 Apr 2005, Mark, Joseph Sweeney wrote: >Hello there, > >I'm trying to use FPC to compile and build an application that includes an >COM type library. >This type library was generated through Borland Delphi 7. >When doing this through FPC it asks for OleServer, which then uses the >TDispId class. > >Do you know if FPC can use OleServer, > or does it have its own implementation of accessing COM > or is there a way of generating a type library though FPC. > >Or what way would you recommend to do this? I am not sure it is possible; Currently, FPC has no support for DispInterface interfaces, which Delphi uses to implement OLE servers. Michael. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Michael Van Canneyt
to Mark, Joseph Sweeney
Joseph Sweeney wrote
Thanks for the quick response. I did read somewhere Jedi and FPC could do this together. Do you know anything about this?

Unfortunately not, it's been years since I they're not very FPC minded.

Michael.

Reply by email