[Lazarus] New Excel Interface Component
tcoq at free.fr
Sun Nov 9 18:05:04 CET 2008
Link should be fixed now.
Luiz Americo Pereira Camara wrote:
> Thierry Coq escreveu:
>> Yes, definitively,
>> I've checked, this code seems to be currently geared to use DISPID
>> interfaces. This works in Delphi, but not in FPC for the time being.
>> For example, the following code:
>> fDocument := fDesktop.loadComponentFromURL('file:///'+
>> StringReplace(FileName, '\', '/', [rfIgnoreCase, rfReplaceAll]) ,
>> '_blank', 0, wProperties);
>> declares fDocument as an OleVariant. The author hopefully expects FPC to
>> understand how to go and fetch "loadComponentFromURL". It ain't gonna
>> work ;-).
>> It should be done this way:
>> var fDocument : IDispatch;
>> fDocument.InvokeDispatch( DISPID_LOADCOMPONENTFROMURL, ...);
>> Thierry Coq
> I tried to download your component to see the implementation but i'm
> getting "Page not found" message for both packages (binary and src)
> Can you take a look at it?
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
More information about the Lazarus