Java Platform Invoke API (Demo version)2.01.04 - Download
You'll be able to download in few seconds.
External Download
We do not host Java Platform Invoke API (Demo version) on our servers. We did not scan it for viruses, adware, spyware or other type of malware. This app is hosted by the software publisher and passed their terms and conditions to be listed there. We recommend caution when installing it.
The external download link for Java Platform Invoke API (Demo version) is provided to you by soft112.com without any warranties, representations or guarantees of any kind, so access it at your own risk.
If you have questions regarding this particular app contact the publisher directly. For questions about the functionalities of soft112.com contact us.
Publisher Description
Java Platform Invoke API (Demo version) for MS Windows. Enables Java code to call native functions implemented in dynamic link libraries (DLLs) like in Microsoft .NET Framework. Written for JSE 1.5.x and later.
Java platform invoke an API that enables Java code to call native functions implemented in dynamic link libraries (DLLs), such as those in the Win32 API. It locates and invokes an exported function and marshals its arguments (integers, strings, arrays, structures, and so on) across the interoperation boundary as needed. This API supports implicit marshaling that makes Java coding with native functions very simple.
To consume exported DLL functions you need
1.Identify functions in DLLs.
Minimally, you must specify the name of the function and name of the DLL that contains it.
2.Create a class to hold DLL functions.
You can use an existing class, create an individual class for each native function, or create one class that contains a set of related native functions. This class should extend CNativeLibrary. Use the annotation ImportLibrary to bind your class to the native library.
3.Create prototypes in Java code.
Write prototype of a native function as a method with signature that corresponds to the native function using data type map agreement. To identify the native function use the annotation Function. Mark the method with the native modifier.
4.Call a DLL function.
Call the method on your Java class as you would any other Java method. As parameters can be passed structures and implemented in Java callback functions.