Good day, ladies and gentlemen.

I wrote an application on Delphi Code Gear 2009, displaying the contents of a PDF file. For this, I imported the Acrobat Access 3.0 Type Library. The package pdf.bpl was installed in the folder " Document and Settings\All Users\Документы\RAD Studio\6.0\Bpl\ ". The appeared component "TAcroPdf" was placed in the form, it accepts pdf-files for display.

The problem is this: the program works on computers where Delphi is installed, but not on "clean" computers - after launching, they get a message about a class not found and a fatal error.

I put the pdf.bpl file in the program directory, then added AcroPdf.dll there - it did not help.

Tell me, please, what to do

    2 answers 2

    Use a component that does not read PDF without using AcrobatReader

    For example XpdfViewer Activex or Gnostice PDFtoolkit VCL ProPlus

    In general, Google and Torrey to help you.

    Here is another article on your question.

      Put AcroPdf.dll for example in System32 and register

       regsvr32 AcroPdf.dll 

      After that, everything should work. Well, or as already said, abandon it in favor of other components.