当前位置: 技术问答>java相关
怎样调用windows的API?
来源: 互联网 发布时间:2015-09-29
本文导语: 我想实现定时关机,用ExitWindowsEx()(right?)实现,该怎么办? | JNI很简单,但你要没学过那就不好办了,一两句话说不清呀,去 http://java.sun.com/products/jdk/faq/jnifaq.html 看看,找些例子做做,今天...
我想实现定时关机,用ExitWindowsEx()(right?)实现,该怎么办?
|
JNI很简单,但你要没学过那就不好办了,一两句话说不清呀,去
http://java.sun.com/products/jdk/faq/jnifaq.html
看看,找些例子做做,今天肯定能搞定你的问题。:)
http://java.sun.com/products/jdk/faq/jnifaq.html
看看,找些例子做做,今天肯定能搞定你的问题。:)
|
Coroutine for Java class library provides the mechanism for Java to call external functions exported from Windows dynamic link libraries. Coroutine also enables you to dynamically build callable wrappers around Java methods so external functions can call Java methods as if they are native functions.
Coroutine shields you from dealing with Java-To-Native-Interface (JNI,RNI, JRI) details. With Coroutine you don't need to write intermediate C++ wrappers. Coroutine for Java is the only tool that you need to integrate access to Win32 and custom APIs into your Java code. Coroutine was designed to help developers who want to incorporate Windows features and functions into Java code.
Coroutine for Java supports all existing Win32-based Java Virtual Machines.
Coroutine shields you from dealing with Java-To-Native-Interface (JNI,RNI, JRI) details. With Coroutine you don't need to write intermediate C++ wrappers. Coroutine for Java is the only tool that you need to integrate access to Win32 and custom APIs into your Java code. Coroutine was designed to help developers who want to incorporate Windows features and functions into Java code.
Coroutine for Java supports all existing Win32-based Java Virtual Machines.