I have been working on adding the Haru pdf library to AutoIT and I have had some success. But now I am stuck. I converted the slideshow demo included with the library source code to AutoIt3 but it does not produce the pdf file because of an internal error. I converted the same c source to FreeBASIC, using the same dll and it works fine. The function that is failing is _HPDF_Page_CreateLinkAnnot(). It triggers a "destination invalid" error when called from AutoIt. I have tried changing the parame