Skip to main content
Known Participant
July 23, 2023
Question

Unable to run my application unless PRO installed and unable to build for x64 platform.

  • July 23, 2023
  • 3 replies
  • 694 views

I put together a concept app for data mining that searches for phrases in a PDF.

It was written in c#, sources are in GitHub (jstateson) and demo is here

The app does not work unless Adobe pro is installed which is unfortunate.

 

In addition, for some reason, I cannot build it for x64 platform.  Not sure why and the Micro$oft explanation given in Visual Studio 2022 is obtuse.  I can build it for x86 and "Any CPU" but not x64.  I assume the problem is related to the SDK but I could be mistaken.

 

The app is not too useful since Pro is required.  I was looking around for any 3rd party PDF library, module or jar to where a beetter app could be used with on a windows or mac system and not be stuck with licensing. 


Thank you for any advice or recommendations.

This topic has been closed for replies.

3 replies

JStatesonAuthor
Known Participant
July 25, 2023

I was able to build a 64 bit app by hand editing the.csproj file.  This was suggesetd by a Microsoft MVP'er over at the VS 2022 complaint desk. I update my github project

 

Thom Parker
Community Expert
Community Expert
July 23, 2023

You are correct that the IAC only operates on Acrobat Pro, and as pointed out by Bernd, Acrobat standard. 

Since this is an Adobe Acrobat forum you'll need to look for 3rd party libraries somewhere else. 

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
JStatesonAuthor
Known Participant
July 24, 2023
quote

Since this is an Adobe Acrobat forum you'll need to look for 3rd party libraries somewhere else. 


By @Thom Parker

 

Sorry, I posted that without a lot of thought.  Also, I discovered earlier it was not possible for me to edit any of my posts. I assume that is a policy here, or perhaps I have not reached a level where I can edit my own post.   In addition, I have started using MS Word to check my post spelling before posting.

 

The app I wrote was a test app quickly written in c# as it was convenient.  C# VB, etc, use Visual Studio.  I need to use python or java; both are open source.  What I meant to ask is can java or python be used with that Adobe SDK or is a 3rd party solution necessary.  AFAICT my app, including the concept app in C#, will always be used on systems with licensed adobe.  The problem is that Visual Studio Code or python IDE will be used instead of VS 2022.

Thom Parker
Community Expert
Community Expert
July 24, 2023

Adove provides an OLE interface for controling Acrobat from an external, local desktop app.  This is limiting, and it is meant to be that way.  

 

However, there are several 3rd party PDF libraries and tools that operate independantly of Acrobat. Many of these are open source and do not require licensing for non-comercial uses. And many of these have Java and/or Python compatible API/SDKs.  Take a look at iText and PDFBox. 

 

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Bernd Alheit
Community Expert
Community Expert
July 23, 2023

May be it will work also with a installation of Acrobat Standard.