Copy link to clipboard
Copied
Task: C Sharp: Coverting PDF to MS Word
Capture return messages Acrobat translation function.
I downloaded Acrobat_DC_SDK_Windows_2021_v3 refereced Interop.Acrobal.dll
IJSMessageHandler is not found.
Please provide link to download the required DLL.
Copy link to clipboard
Copied
You don't download the interop, you generate it. Have you seen this article?
Also, it's "Interop.Acrobat.dll". I'm assuming that's a typo.
Copy link to clipboard
Copied
Hi Thom,
Installed: Acrobat Version: 2021.005.20058
In CMD window, I ran tlbimp on the C:\Program Files (x86)\Acrobat\Acrobat DC\Acrobat\acrobat.tlb
I removed the solution's Interoop.Acrobat.dll and used this newly created dll. Tthere are many Reference Errors - Not Recogzized:
using Acrobat;
IJSMessageHandler
AcroPDDoc pdfDoc = new AcroPDDoc();
Where else on my system can I find the correct "tlb". Is there an Adobe download link ?
tlbimp acrobat.tlb /out: Interop.Acrobat.dll
Microsoft (R) .NET Framework Type Library to Assembly Converter 4.8.3928.0
Copyright (C) Microsoft Corporation. All rights reserved.
TlbImp : warning TI3019 : Interface 'CIConnectionPointContainerProxy' is marked as [dual], but does not derive from IDispatch. It will be converted as an IUnknown-derived interface.
TlbImp : warning TI3019 : Interface 'CIConnectionPointProxy' is marked as [dual], but does not derive from IDispatch. It will be converted as an IUnknown-derived interface.
TlbImp : Type library imported to C:\Temp\Interop.Acrobat.dll
Yes - Just Type in this post. "Also, it's "Interop.Acrobat.dll". I'm assuming that's a typo"
Thx for help.
Copy link to clipboard
Copied
Hmm, that's a bummer. I think maybe you are going down the wrong path.
I would suggest a different route.
Have you tried the SDK C# samples? Do they work correctly?
Have you tried to implement this using VB? Just as a test for the IAC functionality you want to use.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now