Hello,
I've trying to connect to a Word or Excel application with Lazarus 0.9.26. The IDispatch does not work,
I've tried going to the "Invoke" API, and it still doesn't work. I'm able to create a Word.Application objet, I'm even able to get the pointer to the "Visible" property.
I just can't set the Visible property to true: I get the error message:
// -2147352572 = DISP_E_PARAMNOTFOUND: parameter not foundPlease see attached code.
Does somebody know how to call "Invoke" on IDispatch or better still, how to call directly methods and properties of Word or Excel objects in Lazarus?
BR
Thierry
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed... Name: FMainTestWord.lfm
Url: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20081023/23d91983/attachment.pl -------------- next part --------------
An embedded and charset-unspecified text was scrubbed... Name: FMainTestWord.lrs
Url: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20081023/23d91983/attachment-0001.pl -------------- next part --------------
A non-text attachment was scrubbed...
Name: FMainTestWord.pas
Type: text/x-pascal
Size: 2781 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20081023/23d91983/attachment.bin
