Recent

Author Topic: State of IDispatch implementation?  (Read 9203 times)

SirLucifer

  • New Member
  • *
  • Posts: 18
State of IDispatch implementation?
« on: February 06, 2010, 01:20:52 pm »
Hi!
I am currently running Lazarus 0.9.29 with FPC 2.5.1 from February 4th, and obviously the IDispatch implementations are still not working.
Anyone know when, or if, this is being worked on?
Any timeplan?
I am aware that this is a Win-only feature, but it's still a pretty important piece of Win development.

Regards,
/Jörgen

Wodzu

  • Full Member
  • ***
  • Posts: 171
Re: State of IDispatch implementation?
« Reply #1 on: February 06, 2010, 07:03:38 pm »
I totaly agree with you. Waiting for it since few years now... but waiting patiently :-)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7918
Re: State of IDispatch implementation?
« Reply #2 on: February 09, 2010, 09:09:26 pm »
Most of COM is donation driven. IOW patches are committed, there is not sb continuously working on it.

There is one contributor but he comes and goes, sometimes with 18 months hiatus.

Paul Ishenin

  • Sr. Member
  • ****
  • Posts: 274
Re: State of IDispatch implementation?
« Reply #3 on: April 16, 2010, 01:22:26 am »
What does not work with IDispatch for you? Paticular bug reports or small tests would be fine. I usually look at fpc com issues to fix them.

SirLucifer

  • New Member
  • *
  • Posts: 18
Re: State of IDispatch implementation?
« Reply #4 on: April 16, 2010, 07:23:46 am »
Well, it's been a couple of months since my last test, but trying to create a Shell ToolTip handler in Windows (especially 64-bit) returns Nil on most interfaces.
I have tried code that's working fine in Delphi, but as we all know, that doesn't work on 64-bit systems.
I'll be back later with example code.

oxen

  • Newbie
  • Posts: 3
Re: State of IDispatch implementation?
« Reply #5 on: April 25, 2010, 04:31:40 pm »
I have had some success with msword, using idispatch but OleVariant(servername).methodname for calling methods

thierrybo

  • Full Member
  • ***
  • Posts: 123
Re: State of IDispatch implementation?
« Reply #6 on: June 14, 2010, 05:22:17 am »
What does not work with IDispatch for you? Paticular bug reports or small tests would be fine. I usually look at fpc com issues to fix them.

Hi,

I am trying to use a dll I use in Delphi with a TLB. I currently use fpc rev 15435 (today), I think I found a small bug (-> SIGSEGV) in
http://svn.freepascal.org/svn/fpc/trunk/packages/winunits-base/src/comobj.pp line 1289 (1283 to 1289) :

         
Code: [Select]
res:=DispatchInterface.GetIDsOfNames(GUID_NULL,NamesArray,NameCount,
{$ifdef wince}
    LOCALE_SYSTEM_DEFAULT
{$else wince}
         GetThreadLocale
{$endif wince}
         ,IDs);  

you get two " , ", one after NameCount and one before "ID"

Should I post a bug report?

Thierry B.

Edit :sorry, this is not related, the syntax is good  %)
« Last Edit: June 14, 2010, 06:40:57 am by thierrybo »

LazaruX

  • Hero Member
  • *****
  • Posts: 597
  • Lazarus original cheetah.The cheetah doesn't cheat
Re: State of IDispatch implementation?
« Reply #7 on: June 14, 2010, 10:17:11 am »
I am not sure, but this seems to be a similar problem I had in the past i will test again in the following days...