Archie King
Archie King
I compiled using the JAR - I'll read the wiki. The problem is, is that it has worked for a lot of users but doesn't work for one.
Hi there. All I did was add the JAR to my modules (IntelliJ) and compile the whole program. It works perfectly - yet only one user has this error.
Hmm - I think #1 is the best option. What files are left over from JNativeHook when the application closes? Can you tell me how to actually fix it? What...
Haha, I see - the temp files. How could I provide someone "access" to create a temp file? Also is there anyway I could make these files .deleteOnExit()?
How would I do this automatically? https://gist.github.com/kingArchie/0947b2e8df5a75dcb6003742d24c9f3e
Would that method work? Or how would I add my own file and make GlobalScreen use that lib.?
http://prntscr.com/eagvc2 - this is the dll that is created. Is this right? It didn't delete on exit for some reason.
Yeah. Thought so. Would this fix the problem that the person was having? Is it possible to create a batch file to deleteOnExit?
https://gyazo.com/2ff3c3f19bb00315c20b9fa287942a2d that is the stacktrace I was sent. I was thinking - if I unregister the nativehook before the shut down, could I then delete the files on exit?
Windows is all my program will run on.