New Forum | Previous | Next | (P-PDF) Developers
Conf: (P-PDF) Developers, Msg: 59238
Date: 5/29/2002 05:37 PM
I'm opening up several different PDF forms all requiring the same information in info.fdf, the only change being the /F key. In Delphi, I am trying to first create the fdf without setting the PDF file (/F). When it's time to bring up the PDF in Reader, I try to : (Delphi)
AP := CreateOleObject('FdfApp.FdfApp') as IFdfApp;
DC := FdFApp.FDFOpenFromFile('c:\info.fdf') as IFdfDoc;
ShellExecute(0, 'open', pchar('c:info.fdf'),
Essentially, I'm trying to open info.fdf, set the PDF file, then save it. Each different PDF I open, my intent is to open the FDF, reset the /F key, then save the FDF. The complaint by the Delphi compiler is that the DC.FDFSaveToFile has a bad parameter.
Adobe's documentation doesn't really explain the proper way to open an existing fdf, edit it, then save it.
You've all been very helpful to me in the past and it is appreciated. This seems like a simple problem with a simple solution, but one that I can't seem to find an answer for.