* * *

Author Topic: can we create com object with Lazarus ?  (Read 3542 times)

candide

  • New member
  • *
  • Posts: 12
can we create com object with Lazarus ?
« on: March 12, 2010, 07:29:01 pm »
Hi

with current release of Lazarus, we can manage com object like Excel or Word on Windows XP , but can we create com object ?

do we have a tool to create a TLB file ?

Thanks for your help

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1022
Re: can we create com object with Lazarus ?
« Reply #1 on: March 13, 2010, 09:47:32 am »
Not in the release.

In trunk of FPC this is getting close (I assume it will work before summer)

Paul Ishenin

  • Administrator
  • Sr. Member
  • *
  • Posts: 273
Re: can we create com object with Lazarus ?
« Reply #2 on: March 13, 2010, 10:30:57 am »
Look here: http://wiki.lazarus.freepascal.org/Web_Service_Toolkit - the toolkit has a type library editor.

Althought type library editor generates WSDL files instead of IDL/TLB
« Last Edit: March 13, 2010, 10:55:21 am by Paul Ishenin »

Wodzu

  • Full Member
  • ***
  • Posts: 153
Re: can we create com object with Lazarus ?
« Reply #3 on: March 13, 2010, 11:46:27 pm »
Do we really can manage Excel and Word from FPC? last time I've checked there were no such possibility (few months ago).

i even remeber that somone said that this is an OS-specific thing and it rather won't be implemented.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1022
Re: can we create com object with Lazarus ?
« Reply #4 on: March 14, 2010, 10:53:08 am »
Do we really can manage Excel and Word from FPC? last time I've checked there were no such possibility (few months ago).

i even remeber that somone said that this is an OS-specific thing and it rather won't be implemented.

Afaik that already works fine in the current (2.4.0) release. See the demoes in fpc/packages/winunits-base/examples. in the fpc sources.

Paul Ishenin

  • Administrator
  • Sr. Member
  • *
  • Posts: 273
Re: can we create com object with Lazarus ?
« Reply #5 on: March 14, 2010, 12:11:07 pm »
Working with excel and word is possible. I tried to work with internet explorer using dispinterfaces and this worked fine (fpc 2.5.1 only).

Wodzu

  • Full Member
  • ***
  • Posts: 153
Re: can we create com object with Lazarus ?
« Reply #6 on: March 14, 2010, 08:29:31 pm »
Guys this is an excellent news!

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads