PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
You need to use the command FDFSetFile before you save it. You can read the FDF toolkit documentation for more details. Sample: *-- Set the PDF to open when openning the FDF objFdf.FDFSetFile(lcPDFFile) *-- Save the FDF file objFdf.FDFSaveToFile(lcFDFFile) -----Original Message----- From: Bob Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 8:14 AM To: [EMAIL PROTECTED] Subject: [PDFdev] Embedded FDF Problem PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________ I am trying to use the embedded FDF feature. I copied the sample code from the FDFtkRef. Here it is: FDFDoc theFDF, outerFDF; FDFErc erc = FDFOpen("d:\\lists\\idiscsak.fdf", 0, &theFDF); erc = FDFCreate (&outerFDF); erc = FDFEmbedAndClose (outerFDF, theFDF, NULL); erc = FDFSave (outerFDF, "d:\\lists\\idiscsakOuter.fdf"); FDFClose (outerFDF); idiscsak.fdf is an existing fdf that works properly. When double clicked it displays the form filled in. The code should embed idiscsak.fdf into the idiscsakOuter.fdf file. The code creates the outer fdf file just fine with happy status codes. However, when I double click on the outer fdf file I get the following messgae: "Unable to locate the form because the FDF lacks a /F key. If the FDF came back as a result of a submit from a pdf form, then the URL is probably missing "#FDF" at the end." Is there something else I'm supposed to be doing to create the outer FDF? Has anyone else got this to work? Thanks Bob Johnson To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
