Hmm... this sounds like a bug in JNA. What version of JNA are you using? Also, are you running on x64 Java?
I have an AMD64 system and TurboActivate seems to crash when it instantiates TurboActivateNative.W_ACTIVATE_OPTIONS in the Activate(String extraData) method (see below).
I've added try/catch and debug messages and I can't produce any detail on the crash - the crash seems to occur in the JNA library and no exception gets thrown.
Any idea what the issue is? This seems to work on a Core i5 (intel 64) processor.
... public static void Activate(String extraData) throws TurboActivateException { int ret = 0; if (Platform.isWindows()) { //crashes right here: TurboActivateNative.W_ACTIVATE_OPTIONS opts = new TurboActivateNative.W_ACTIVATE_OPTIONS();...
Thanks,Bill
Hmm... this sounds like a bug in JNA. What version of JNA are you using? Also, are you running on x64 Java?
I tried this on both 32 bit and 64 bit jres. I used the JNA v3.5.2 (b66) and also the latest release of TurboActivate 3.4 and I also tried the latest prerelease from GitHub.
I think you're right - I notice they have forked the project on GitHub for AMD64 related issues.