State of IDispatch implementation? lazarus / 34-Windows ---------------------------------------------------------------------- SirLucifer · 2010-02-06 12:20 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 · 2010-02-06 18:03 I totaly agree with you. Waiting for it since few years now... but waiting patiently :-) ---------------------------------------------------------------------- marcov · 2010-02-09 20:09 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 · 2010-04-15 23:22 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 · 2010-04-16 05:23 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 · 2010-04-25 14:31 I have had some success with msword, using idispatch but OleVariant(servername).methodname for calling methods ---------------------------------------------------------------------- thierrybo · 2010-06-14 03:22 Quote from: Paul Ishenin on April 16, 2010, 01:22:26 amWhat 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 ---------------------------------------------------------------------- LazaruX · 2010-06-14 08:17 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...