JNA's W32API.* - where are they?

ⅰ亾dé卋堺 提交于 2020-01-24 04:19:05

问题


I just downloaded both jna.jar and platform.jar (ver. 3.2.7) from http://java.net/projects/jna/downloads/directory/3.2.7 and according to http://jna.java.net/javadoc/platform/com/sun/jna/platform/win32/W32API.html I should find the W32API interface but I can't locate it.

Anyone can shed some light on this? Thanks.

Best Regards, Joe


回答1:


This class has been split up into Multiple classes in 3.2.7. You can either revert to 3.2.5 to get the class as is, or, you can use these newer classes into which W32API has been split.

com.sun.jna.win32.W32APIOptions -->jna.jar

com.sun.jna.win32.StdCallLibrary --> jna.jar

com.sun.jna.platform.win32.WinDef -->platform.jar

com.sun.jna.platform.win32.WinNT -->platform.jar



来源:https://stackoverflow.com/questions/6155080/jnas-w32api-where-are-they

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!