error when loading pdf template : Could not Load DLL procedure zlib1.dll (3258)

Could not Load DLL procedure zlib1.dll (3258)

The above is the error message i get when trying to load in a pdf. My code is as follows:

{pdf_inc.i}

RUN pdf_new("spdf","c:\invoice.pdf").

RUN pdf_open_PDF("spdf","C:\Documents and Settings\sbrannan\Desktop\template.pdf","Inv").

RUN pdf_new_page("spdf").
RUN pdf_use_pdf_page("spdf","Inv",1).

RUN pdf_fill_text("spdf","Cost","£999.99","").

I am going to try and download zlib.dll i am unsure which directory to put it in. Im guessing the same as the other pdfinc .dll files. Any advice would be appreciated

Thanks


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

zlib1.dll

You may find zlib1.dll on your PC already. If not download to folder where pdf* files were installed.

Errol


just copy zlib1.dll to the

just copy zlib1.dll to the windows/system32 directory, or add the directory where you did put the dll to the PATH.