问题描述
我刚刚从 http:下载了jna.jar和platform.jar(版本3.2.7): //java.net/projects/jna/downloads/directory/3.2.7 并根据http://jna.java.net/javadoc/platform/com/sun/jna/platform/win32/W32API.html 我应该找到W32API接口,但找不到找到它.
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.
最好的问候,乔
推荐答案
该类已在3.2.7中分为多个类.您可以还原到3.2.5以直接获取该类,也可以使用将W32API拆分为这些较新的类.
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.W32APIOptions -->jna.jar
com.sun.jna.win32.StdCallLibrary-> jna.jar
com.sun.jna.win32.StdCallLibrary --> jna.jar
com.sun.jna.platform.win32.WinDef-> platform.jar
com.sun.jna.platform.win32.WinDef -->platform.jar
com.sun.jna.platform.win32.WinNT-> platform.jar
com.sun.jna.platform.win32.WinNT -->platform.jar
这篇关于JNA的W32API.*-它们在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!