Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Acrobat SDK Loading Plugin Error (VS2022)

Explorer ,
Jun 19, 2023 Jun 19, 2023

I am trying to get one of the sample plugins working on Windows 11 using Visual Studio 2022. The BasicPlugin compiles OK, but when I copy the dll into the Acrobat plugins folder, the plugin fails to load. I made no modifications to the code.

 

Any suggestions as to what the issue could be or where I can look to see what the problem is?

 

Cheers

Pete

TOPICS
Windows
2.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 21, 2023 Jun 21, 2023

Have you tested the plugin in Adobe Acrobat?

Translate
Community Expert ,
Jun 19, 2023 Jun 19, 2023

32 bit or 64 bit version of Adobe Acrobat?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 19, 2023 Jun 19, 2023

64 bit

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 19, 2023 Jun 19, 2023

Is the plugin also a 64 bit version?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 19, 2023 Jun 19, 2023

Yes it is.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 19, 2023 Jun 19, 2023

Is it running with the new UI (hamburger menu top left versus File - Edit etc.)?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 19, 2023 Jun 19, 2023

Yes it is using the newer menu style.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 19, 2023 Jun 19, 2023

You can disable the new UI.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 19, 2023 Jun 19, 2023

The new UI is, I believe, still experimental and does not load plug-ins. (I believe that if someone has plug-ins ALREADY then they won't be offered the new UI on installing).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 19, 2023 Jun 19, 2023

Right, that makes sense, thanks to both of you. I will disable it and try again.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 21, 2023 Jun 21, 2023

I disabled the new UI. The menu item appears, but then about 2 seconds later, a message pops up stating that the plugin cannot be loaded and Acrobat closes. I have signed the plugin as well.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 21, 2023 Jun 21, 2023

Ok...

1.is this a fully licensed Acrobat, showing editing functions etc, with an active subscription?

Or is it Acrobat running as Acrobat Reader?

The title bar should tell you (with the old UI).

2. Did you run Visual Studio on the same computer as Acrobat or did you move the file after building?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 21, 2023 Jun 21, 2023

Adobe Acrobat Reader (64-bit) is in the title bar.

 

The file is on the same computer as VisualStudio, yes.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 21, 2023 Jun 21, 2023

Could it be something to do with the RIKLA certificate?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 21, 2023 Jun 21, 2023

Since it's the same computer, that simplifies the things to look for.

How and WHEN did you get the RIKLA certificate? (It would normally come near the end of the development process, not the beginning).

Also... it is expected that you will use Acrobat for development. Hence - you need to verify your plug-in loads in Acrobat first.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 21, 2023 Jun 21, 2023

Apologies for not supplying more background information. This was a plugin developed several years ago, which stopped working and now I have been tasked to find and fix the problem. I downloaded the latest SDK, tried to get a sample working, but am stuck with the loading issue. The RIKLA certificate dates back to 2016.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 21, 2023 Jun 21, 2023

Hmmm, I think new certificates may be required for the 64-bit version. I can't recall any details though.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 21, 2023 Jun 21, 2023

Have you tested the plugin in Adobe Acrobat?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 21, 2023 Jun 21, 2023

Will do that shortly, thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 21, 2023 Jun 21, 2023
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 21, 2023 Jun 21, 2023
?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 22, 2023 Jun 22, 2023

Amber, !

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 22, 2023 Jun 22, 2023

Thanks, so I will try it in Acrobat Pro and when ready, request a new certificate for the 64-bit version of Reader.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 23, 2023 Jun 23, 2023
LATEST

All working now, it was down to my not using Acrobat and trying to do development directly in Reader.

Thanks all.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines