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

Reply via email to