Search found 2 matches
- 24 May 2021, 21:34
- Forum: Ask for Help
- Topic: Setting and using AutoHotkey DLL variables in Java
- Replies: 2
- Views: 3197
Re: Setting and using AutoHotkey DLL variables in Java
Okay, I think I've worked out what's happening: ahkassign really does work and is returning a success code of zero. JNA returns a null Pointer because a literal zero is the null pointer. Output variables (and AHK variables in general) cannot be passed to function calls via ahkFunction. This is becau...
- 11 May 2021, 03:35
- Forum: Ask for Help
- Topic: Setting and using AutoHotkey DLL variables in Java
- Replies: 2
- Views: 3197
Setting and using AutoHotkey DLL variables in Java
I'm using Java JNI to interface with AutoHotkey V2 DLL and I'm having trouble initializing, reading, and using variables as output variables in functions. Basically: ahkassign is not returning a -1 or 0 status code to indicate success/failure. I can't tell if ahkgetvar is reading from an initialized...