LeVanPhuUIT / jnativehook

Automatically exported from code.google.com/p/jnativehook
0 stars 0 forks source link

NativeLibrary remove #88

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If you run this (on Windows) a copy of the Native dll
is created under "C:\Users\<user>\AppData\Local\Temp\" but 
this copy will never be deleted...

(in GlobalScreen.java line 456 you try to delete the temp file by javas
delete file on exit method but this doesnt theme to work... maybe because 
at the time where it should be deleted it is still loaded...)

Original issue reported on code.google.com by michi.zu...@gmail.com on 16 Jul 2014 at 4:54

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by a...@1stleg.com on 16 Jul 2014 at 5:44

GoogleCodeExporter commented 8 years ago
Somewhat fixed in the trunk.  It will take a rather large redesign and some 
questionable class-loading to have the library cleanup after itself so I have 
decided to remove that portion.  The library will instead extract to a uniform 
file name and recycle previously extracted libraries with the same version.  
Updated src is in HEAD on https://github.com/kwhat/jnativehook and nightly is 
attached to issue #43 comment #46.

Original comment by a...@1stleg.com on 24 Aug 2014 at 6:21