开发者

JNA Win32 examples

I'm trying to compile in Eclipse the example code from McDowell here JNA Keyboard Hook in Windows

I downloaded jna.jar from http://java.net/projects/jna/sources/svn/show/trunk/jnalib/dist?rev=1182

Imported into my project, added to the build path, but "com.sun.jna.examples.win32" is empty (white folder package). Therefore User32.HHOOK is not of known type... or is McDowell co开发者_如何学Gombining with temp's example?

Please enlighten me


It is in the platform.jar on the same page as part of the win32 types package. Full class com.sun.jna.platform.win32.WinUser.HHOOK.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜