Skip to main content
Shreelipi
Known Participant
July 13, 2016
Answered

Plugin menu disappears.

  • July 13, 2016
  • 2 replies
  • 1269 views

I've build the InDesign plugin (32 bit) which works perfectly fine,

but when I build the same source code for 64 bit the plugin menu disappears even after successful build.

I don't understand what could be the reason behind.

Thanks.

This topic has been closed for replies.
Correct answer Manan Joshi

No, I did not receive messages either.


So that concludes what i have been saying from start that the plugin is not loading and you are debugging the menu. Now if all is well i would attribute this problem to using wrong libraries linked to your 64 bit plugin project. Make sure all the 64 libraries are being linked to.  You could ensure this by renaming the 32 bit library folder in the sdk, in case your project is referring anything inside this folder the 64 configuration will cease to build and you have your solution.

Let me know if this works

2 replies

Community Expert
July 13, 2016

How are you sure that the plugin indeed gets installed in the 64 version of InDesign, it might be possible that the plugin does not load and hence the menu is not visible. Like Pickory mentioned make sure that the resource file .fr is being compiled and the resource folder is actually being generated. Also make sure to copy the resource folder along with the plugin to the plugin directory.

Get hold of InDesign's debug version if all of the above seems to be fine and then run the plugin using a debugger. Also make sure all the dependencies of the plugin are present and loaded for ex:- any DLL needed by the plugin is present.

Hope this gives you some pointer to debug your issue.

-Manan

-Manan
Shreelipi
ShreelipiAuthor
Known Participant
July 14, 2016

As per your suggestion I've checked for all dependencies and resource folder , didn't find anything missing.

it also generates resources folders.

Community Expert
July 14, 2016
  1. Did you run the debug version of the plugin with the debugger, any messages in the debugger console?
  2. How did you verify if the plugin is actually loading and the issue is with the menu only. My suggestion would be to put an alert in startup to make sure that the plugin loads.
  3. Does the UI have any native UI component or the whole UI is created by InDesign resources.?

-Manan

-Manan
Legend
July 13, 2016

Sounds like it is not being included in the build. Check the properties of the resource file.

P.