How to add an exception message if plug in didn't load
Hello, I wonder, if there is any method to show the exception message if plug in didn't load ?
Hello, I wonder, if there is any method to show the exception message if plug in didn't load ?
You need to debug the problem, you can't issue a message when you aren't loaded. You could issue a message (not using Acrobat methods) from your PluginMain to show the initial load, but that would be unhelpful in a live product.
If your plug-in isn't loading check the Console, you might be lucky. Usually not. This is one of the most annoying parts of getting started with plug-in programming. Other things to check include:
- building with the right SDK - no use using the DC SDK to make a plug-in for Acrobat 11 or vice versa.
- do not use Acrobat Reader. Use Acrobat Pro only.
- Only Certified Plug-ins option must be OFF
- Don't create your own project, use a sample project as a model or you'll never get it right
- Build and test sample plug-ins.
- Plugins only add menu items if you add code to do this - none are automatic.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.