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? > > Luiz > _______________________________________________ > Lazarus mailing list > Lazarus@lazarus.freepascal.org > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > >
_______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus