I have just started investigations on how do Acrobat Reader plugins work. I would like to overload standard Acrobat authorisation handler to let my users to access password protected PDF's using my own authorisation rules. I have downloaded an Acrobat 5.0 SDK from There I have found a security handler overloading example at
PluginSupport\Samples\Security and Digital Signatures\SecurityHandler.
I have compiled it using MSVC 6.0, everything seems ok, the new created API DLL is launched (I see messages put by me inside of DllMain() routine) but neither PISetupSDK() nor InitializeSecurityHandler() are called during the DLL
initialisation. Project uses file PIMain.cpp from the common directory PluginSupport\Headers. It is confusing to me - as I understood, this file is only template for plugin entry file, there are no calls to any SecurityHandler initialization routines. Or may be they must be put to
some function pointer initialization arrays?
What could be wrong? Is here something missing?
PluginSupport\Samples\Security and Digital Signatures\SecurityHandler.
I have compiled it using MSVC 6.0, everything seems ok, the new created API DLL is launched (I see messages put by me inside of DllMain() routine) but neither PISetupSDK() nor InitializeSecurityHandler() are called during the DLL
initialisation. Project uses file PIMain.cpp from the common directory PluginSupport\Headers. It is confusing to me - as I understood, this file is only template for plugin entry file, there are no calls to any SecurityHandler initialization routines. Or may be they must be put to
some function pointer initialization arrays?
What could be wrong? Is here something missing?