Search code examples
delphiadobetypeslibrariesacrobat

How do I get Acrobat Reader Imported into Delphi 2007?


I have imported Acrobat Reader using Components | Import Components. The AcroPdf_TLB unit is created in the Imports directory.

When I try to use the AcrobatReader component, as follows ...

AcroDoc := TAcroPDF.Create(nil);

... I get an 'Unspecified Error' exception (EOleSysError). Any ideas?

Thanks, Pieter.


Solution

  • We use the Adobe Reader plug-in and face this issue often. It particularly surfaces after a user performs a web-update on the Adobe Reader.

    Try un-installing (via the Control Panel), then re-installing the latest Adobe Reader.

    That invariably clears the issue for our users.