Adobe Acrobat Plugin gHINSTANCE is undefined
Hi,
Does anyone know the correct way to include “PIMain.c” in to a project so that gHINSTANCE is available. I’ve tried using GetModuleHandleA(NULL) but this doesn’t seem to give the correct result.
If I try using #include “PIMain.c” on compilation I get a load of errors stating that things are already defined e.g. “RestorePlugInFrame already defined”.
I’m trying to use gHINSTANCE to create an AVIcon object.
Is there another way to access this object?
Any help would be really appreciated.
Regards
Stuart