PDFInclude error : " pdf_inc.p was not found (293) &quo

Posted by vinhng on 08-Dec-2018 09:34

Hello guys.

I used PDFInclude to generate PDF for report, when i compile the source code example " Hello.p" in with Character Client then appear error message : " pdf_inc.p was not found (293) ". 
But i have compile this file "pdf_inc.p" before. I compiled my code in windows server 2008.

My example code : 

/*===========================================*/

{ config.i }

{ pdf_inc.i "THIS-PROCEDURE"}

RUN pdf_new ("Spdf",cPdfIncludePath + "hello.pdf").
RUN pdf_new_page ("Spdf").

RUN pdf_text ("Spdf", "Hello World!").

RUN pdf_close("Spdf").
IF RETURN-VALUE > '' THEN
MESSAGE RETURN-VALUE
VIEW-AS ALERT-BOX ERROR BUTTONS OK.

/*===========================================*/

My Character Client : 

Please help me !.
Thanks for read my question.

All Replies

Posted by Patrick Tingen on 08-Dec-2018 15:56

Make sure the file really exists and check your propath, the folder where pdf_inc.p resides should be in the propath. Alternative is to change the reference to the file inside the pdf include software but I would not recommend that.

This thread is closed