OSDN Git Service
Support for Java Access Bridge 2.02 (including for 64 bit JVMs). Hopefully does not break older Java Access Bridge versions.
Specific changes:
* Rather than loading windowsAccessBridge.dll in initialize, load either windowsAccessBridge-32 or windowsAccessBridge at the top of JABHandler, and take note of which one worked (whether we're using legacy or not).
* Rewrite defines of all structs, types and function prototypes using java-specific types (jint, JOBJECT64) and make sure that JOBJECT64 is 64 bit for the new java access bridge and 32 bit for legacy.
* Don't ever handle JOBJECT64 as an int, but instead always an opaque type.